forked from FasterXML/jackson-module-scala
-
Notifications
You must be signed in to change notification settings - Fork 1
Add-on module for Jackson (http://jackson.codehaus.org) to support Scala-specific datatypes
daveclay/jackson-module-scala
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Project to build Jackson (http://jackson.codehaus.org) module (jar) that supports Scala (http://www.scala-lang.org/) data types. The Scala Module supports serialization and limited deserialization of Scala Lists, Maps, and other immutable and mutable collection types. Scala's collection API does not inheret from Java's collection API; therefore this module is necessary to support Scala. For documentation on usage, please refer to the scala test cases: src/test/scala/com/fasterxml/jackson/module/scala/SerializationTest.scala src/test/scala/com/fasterxml/jackson/module/scala/DeserializationTest.scala To use the Scala Module in Jackson, simply register it with the ObjectMapper instance: val mapper = new ObjectMapper() mapper.registerModule(new ScalaModule()) ObjectMapper methods readValue and writeValue will use the ScalaModule's ScalaDeserializers and ScalaSerializers to implement the Scala collection conversions.
About
Add-on module for Jackson (http://jackson.codehaus.org) to support Scala-specific datatypes
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Scala 84.6%
- Java 15.4%