https://github.com/aparo/play-json-extra
Play Json Extra extends Play Json with several opinionated features
https://github.com/aparo/play-json-extra
json macro playframework scalajs
Last synced: 10 months ago
JSON representation
Play Json Extra extends Play Json with several opinionated features
- Host: GitHub
- URL: https://github.com/aparo/play-json-extra
- Owner: aparo
- License: apache-2.0
- Created: 2015-08-11T11:57:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-02-25T17:50:46.000Z (almost 8 years ago)
- Last Synced: 2025-02-05T14:11:43.834Z (about 1 year ago)
- Topics: json, macro, playframework, scalajs
- Language: Scala
- Homepage:
- Size: 323 KB
- Stars: 22
- Watchers: 6
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
play-json-extra
===============
I love working in Scala and ScalaJS. This library is my **opinionated** wrapper of several libraries merged to
efficiently working in JSON word.
Main Features are:
* Play JSON for ScalaJS
* **JsonFormat** macro annotation for lazy people
* Default field values populated in missing JSON field
* Field rewrite for Play JSON ("key")
* +22 field case class formatter and more [Play Json Extension](http://play-json-extra.megl.io/playjsonext.html)
* **Joda Datetime** for Scala and ScalaJS
* [Strong Typed Enum](http://play-json-extra.megl.io/macrame.html) (String and Int) for Scala and ScalaJS
* [Variant Types](http://play-json-extra.megl.io/variants.html)
Full Documentation [here](http://play-json-extra.megl.io).
## Installing
For the stable version (to be release):
```scala
resolvers += "Sonatype releases" at "https://oss.sonatype.org/content/repositories/releases"
libraryDependencies += "io.megl" %% "play-json-extra" % "2.4.3"
```
For the snapshot version:
```scala
resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
libraryDependencies += "io.megl" %% "play-json-extra" % "2.4.3-SNAPSHOT"
```
play-json-extra requires scala 2.11.x
## Documentation
Full Documentation [here](http://play-json-extra.megl.io).
## Thanks
Thank you very much to:
* Li Haoyi for [upickle](https://github.com/lihaoyi/upickle-pprint) and all his scalaJS stuff
* Jan Christopher Vogt for [Play JSON Extensions](https://github.com/cvogt/play-json-extensions)
* Chris Neveu for [Macramé](https://github.com/ChrisNeveu/macrame)
* Julien Richard-Foy for [Play JSON Variants](https://github.com/julienrf/play-json-variants)
* The ScalaJS team
* The Play Framework team