Skip to content

Jackson adapter so eaio uuid's are getting [de]serialized properly

License

Notifications You must be signed in to change notification settings

Code-House/eaio-uuid-jackson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eaio UUID Jackson

This repository hosts an a very small piece of code needed to turn com.eaio.uuid.UUID type into valid string representation as well as read it from string representation. By default Jackson does have support for "fromString" deserialization however it does not allow to enrich "fromString" types.

Usage

Pulling in eaio types in your code requires no extra work, however making Jackson aware of custom type logic will require such small amount of object mapping customization:

ObjectMapper mapper = new ObjectMapper().registerModule(new EaioUUIDModule());

Copyright © 2017 Code-House, Łukasz Dywicki. Free use of this software is granted under the terms of the Apache Software License.

See the LICENSE file for details.

About

Jackson adapter so eaio uuid's are getting [de]serialized properly

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages