java - How Moxy and Jackson map Json to Pojo -
json pojo using jackson
we can convert json pojo using jackson,i hope includes serialization , deserialization of json, question how it's map every attribute of json pojo. internally how jacskon works? sample code convert json pojo
objectmapper mapper = new objectmapper(); string jsoninstring = "{'name' : 'eng'}"; user user = mapper.readvalue(jsoninstring, user.class); class user{ public string name; // getter , setter name } json pojo using moxy
similar way adding few configuration can map json pojo using moxy.how works internally taking above example? - approach effective , why?
Comments
Post a Comment