Serialization and Deserialization in Java
Table of Contents
Serialization and Deserialization in Java
See https://www.geeksforgeeks.org/serialization-and-deserialization-in-java/
Java SerialVersionUID: Object Versioning
jaxb
For working with xml and xsds
TODO
- https://www.baeldung.com/jaxb
- https://stackoverflow.com/questions/607141/what-is-jaxb-and-why-would-i-use-it
jackson
For working with json
TODO
- https://github.com/FasterXML/jackson
- https://www.baeldung.com/jackson
- Look at these sections in the link above.
- Jackson - Basics
- Jackson Annotation Examples
- Intro to the Jackson ObjectMapper - Jackson ObjectMapper
- Jackson Unmarshalling JSON with Unknown Properties
- XML Serialization and Deserialization with Jackson
- Using Optional with Jackson
- Jackson Date
- Jackson Exceptions - Problems and Solutions
- Jackson - Customization
- Jackson Ignore Properties on Marshalling
- Ignore Null Fields with Jackson
- Jackson - Change Name of Field
- Guide to @JsonFormat in Jackson
- Jackson - Marshall String to JsonNode
- Jackson - Custom Serializer
- Getting Started with Custom Deserialization in Jackson
- Spring Boot: Customize the Jackson ObjectMapper
- OffsetDateTime Serialization With Jackson
- Deserialize Snake Case to Camel Case With Jackson
- Jackson - Advanced
- More Jackson Annotations
- Jackson JSON Views
- Map Serialization and Deserialization with Jackson
- How To Serialize and Deserialize Enums with Jackson
- Mapping a Dynamic JSON Object with Jackson
- Mapping Nested Values with Jackson
- Jackson - Bidirectional Relationships
- Working with Tree Model Nodes in Jackson
- @JsonSubTypes vs. Reflections for Polymorphic Deserialization in Jackson
- Fix the JsonMappingException: Can not deserialize instance of java.util.ArrayList from Object value (token JsonToken.START_OBJECT)
- How to Process YAML with Jackson
Protocol Buffers
TODO
Apache Thrift
TODO
- https://thrift.apache.org/
- https://github.com/apache/thrift/tree/master/tutorial
- https://thrift.apache.org/static/files/thrift-20070401.pdf
- https://medium.com/devglossary/what-is-apache-thrift-is-it-the-same-as-grpc-2562dba125b0
- https://thrift-tutorial.readthedocs.io/en/latest/intro.html