I have bean object say Documents having properties. And I have an arraylist
as List<Documents>
. I have a json string as follows:
[{"language"="English","Type"="fiction"},{}]
Language and type are properties of Documents class. I want to deserialize it into a List<Documents>
using JSONDeserializer
in Liferay
.
Used Serialization implements and @JSON annotation on getters of documents class