jsonapi-converter
jsonapi-converter copied to clipboard
Get value above "attributes" level
Hi,
I've got JSON data which looks like this (excerpt):
"arbitrary": { "data": { "type": "arbitrary", "id": "28", "name": "Some Text" } }
Is it possible to get access to the name attribute? I suppose it's an error and name should be included inside an attributes object (as they correctly did in other parts of the JSON code).
Hey there @Michigras,
Yes, name
should be inside attributes
.
You could fork and do some changes to be able to access the attribute, but IMHO the API should be fixed to be compliant with the spec.
Closing as its asking about features not compatible with the spec.