Response for a query
in JSON format returns a response where objects->object properties have multiple declarations. While in XML response each has property 'type':
<object xmlns="" type="inetnum">
<object xmlns="" type="person">
in JSON format it's duplicated:
After json_decode() the response is getting "cropped":
[objects] => stdClass Object (
[object] => Array (
 => stdClass Object (
[type] => route
The only solution for me is an XML usage instead of JSON.
Fixed #114 - JSON response format should contain an "object" array wi…
…thin the "objects" element.
This is still na issue.
Testing with this: http://rest.db.ripe.net/search.json?query-string=188.8.131.52
objects -> object is declared multiple times.
Thanks for your feedback - indeed this is still an issue in the current release 1.71. We have committed a fix for this (see above), which will be included in the next release.
I will re-open this issue for now (until the fix is released).
Yes, I have seen your commit. Thank you for re-opening this. Can you provide any info on availability of the next release?
We expect to have another release in the coming weeks.
We're doing a review of JSON output in #130 .