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

add boilerplate methods for case class Format #52

Merged
merged 1 commit into from Jun 21, 2017

Conversation

xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Jun 7, 2017

sbt/contraband support auto generate sjsonnew Formats, it's useful.
but I want to convenient methods like this.
because there are times when I don't want to use contraband.

The API almost same as argonaut.CodecJsons, asProductN in sbinary, and my library(play-json-extras)

Here is generated CaseClassFormats.scala

related #12

sbt/contraband support auto generate sjsonnew Formats, it's useful.
but I want to convenient methods like this.
because there are times when I don't want to use contraband.

The API almost same as argonaut.CodecJsons, asProductN in sbinary, and my library(play-json-extras)

- https://github.com/sbt/contraband/blob/v0.3.0-M5/docs/03-json.md
- https://static.javadoc.io/io.argonaut/argonaut_2.12/6.2/argonaut/CodecJsons.html
- https://github.com/argonaut-io/argonaut/blob/v6.2/project/Boilerplate.scala
- https://github.com/sbt/sbinary/blob/v0.4.4/core/src/generic.scala#L111-L134
- https://github.com/xuwei-k/play-json-extra
- http://d.hatena.ne.jp/xuwei/20140402/1396408213
Copy link
Owner

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This would be a good addition to sjson-new especially for non-contraband users.

@eed3si9n eed3si9n merged commit a7628e6 into eed3si9n:master Jun 21, 2017
@xuwei-k xuwei-k deleted the case-class branch June 21, 2017 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants