As far as I know, JSON deserialization is done entirely by hand, using
JSONObject . That is, we should roughly know the structure of our JSON in order to create a de-serialization scheme.
For example, we create a
Response object from a string, find an array in it, iterate over it, create a new object for each iteration, and so on.
Is there a quick way to restore the structure of the original object "in one line", as, for example, in PHP