https://github.com/brianburton/javimmutable-jackson
Add-on datatype-support module for Jackson (https://github.com/FasterXML/jackson) that handles JImmutable collections.
https://github.com/brianburton/javimmutable-jackson
jackson java json
Last synced: 2 months ago
JSON representation
Add-on datatype-support module for Jackson (https://github.com/FasterXML/jackson) that handles JImmutable collections.
- Host: GitHub
- URL: https://github.com/brianburton/javimmutable-jackson
- Owner: brianburton
- License: other
- Created: 2017-12-26T04:44:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-18T02:51:36.000Z (about 5 years ago)
- Last Synced: 2024-11-17T13:09:44.659Z (over 1 year ago)
- Topics: jackson, java, json
- Language: Java
- Size: 70.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Jackson JSON Module for Javimmutable Collections
This library provides an extension to allow the Jackson library to convert Jimmutable collections into JSON and back. To use the module simply create a JImmutableModule and pass it to your ObjectMapper.
````
ObjectMapper mapper = new ObjectMapper();
mapper.registerModules(new JImmutableModule());
````
Once this has been done Jackson can automatically serialize and deserialize JImmutableLists, JImmutableSets, and JImmutableMaps.
This module requires JImmutable Collections 3.0.0 or higher and Jackson databind version 2.9.10.7 or higher.
````
com.fasterxml.jackson.core
jackson-databind
2.9.10.7
provided
org.javimmutable
javimmutable-collections
3.0.0
provided
````