Open jutikornpomelo opened 1 year 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![image](https://user-images.githubusercontent.com/105695988/192487701-754d6e60-8a43-4457-beba-a171f7a0672e.png)
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: