-
-
Notifications
You must be signed in to change notification settings - Fork 142
Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
License
FasterXML/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 (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
Topics
Resources
License
Security policy
Stars
Watchers
Forks
Packages 0
No packages published