Open jutikornpomelo opened 2 years ago
A resource linkage object (the data
field in values of relationships
field) can be a single or an array of resource identifier object. AFAIK, the use of relationships
in a resource identifier object is not supported by the specification.
My JSON response has 3 nested
relationships
in it which looks like this:lib can parse the
blue
andred
layers but when it comes to thegreen
layer. It cant be parsed and only return nullMy data class:
Here is my sample json: