what is serialization and deserialization in api code example

Example 1: deserialization in api

DE-SERIALIZATION:  JSON --> JAVA OBJECT
SERIALIZATION: 	   JSON <-- JAVA OBJECT

I add jacksonDataBinder dependency in my pom.xml file -> 
it is a json parser. That is used for converting
from java object to json and from json to java object.

Example 2: what is serialization in rest assured

Serialization is RestAssured context
is a process of converting java object
into request payload

Deserialization is converting response 
body back to java object.

Tags:

Java Example