marshalling in java code example
Example 1: what is marshalling and unmarshalling in java
Marshalling; when we MAP a Java object to API JSON
format (CONVERT JAVA OBJECT TO JSON);
Unmarshalling; API JSON/XML ^ MAP it to Java Object
(JSON TO JAVA OBJECT)
Example 2: marshalling in java
it is also known as Serialization;
when we MAP a Java object to API JSON
format (CONVERT JAVA OBJECT TO JSON);
on the other hand umharshalling also know as
Deserialization;
API JSON/XML ^ MAP it to Java Object
(JSON TO JAVA OBJECT)