0

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

Snel23
  • 1,381
  • 1
  • 9
  • 19
vikrams
  • 1
  • 3
  • 1
    Possible duplicate of [Safely turning a JSON string into an object](https://stackoverflow.com/questions/45015/safely-turning-a-json-string-into-an-object) – elarcoiris May 22 '19 at 06:08
  • 1
    How can a JavaScript answer be a answer to a question in Java – vikrams May 22 '19 at 06:49

0 Answers0