Announcing Serializer

  • ·

Serializer is a tiny wrapper around the most popular JSON serializers for Java. Essentially it allows you to de/serialize a Java object into a JSON string using its supported serializers. You can even create your own serializer if you don’t want to use any of the default ones.

By default, Serializer comes with Gson and Moshi as the underlining serialization engines. Gson is used by default with Serializer but can easily be overwritten to make use of either Moshi or any other serialization engine out there. Eg. Jackson

We took the idea documented in this post and turned it into a resuable Java library. Even more, this issue inspired it.

For more infomation on how to integrate it into your project, check the project’s README.md file.