Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some examples using argonaut? #3

Open
fagossa opened this issue Jun 19, 2016 · 2 comments
Open

some examples using argonaut? #3

fagossa opened this issue Jun 19, 2016 · 2 comments

Comments

@fagossa
Copy link
Owner

fagossa commented Jun 19, 2016

Is it worth to add argonaut?

import argonaut._, Argonaut._

case class Person(name: String, age: Int, things: List[String])

implicit def PersonCodecJson =
  casecodec3(Person.apply, Person.unapply)("name", "age", "things")

val person =
    Person("Bam Bam", 2, List("club"))

val json: Json =
    person.asJson

What do you guys think?

@joe-mojo
Copy link
Collaborator

And what if we put this issue in low priority, and if we haven't the time to include Argonaut's examples in this XKE, it will be the next one ?

@fagossa
Copy link
Owner Author

fagossa commented Jul 16, 2016

I agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants