Many strings are returned localized (e.g. titles and descriptions). You’ll typically see something like:
A dictionary of languages and corresponding translation. This is all good and well. When there’s no content in the field, however, you’ll get:
The type changes! I understand that this is probably an artifact of you using named arrays, but it is yet another thing, which makes the API horrible to work with in a strongly typed language.
There’s a lot of great thoughts on how to do this more consistently here: http://stackoverflow.com/questions/8595627/best-way-to-create-an-empty-object-in-json-with-php
One of our Community Moderators alerted us about your post here.
First off, I wanted to thank you for posting to the Community and taking the time to share your feedback here.
I have since forwarded this feedback to our Development Team so that we can get a ticket written up and prioritized to address this inconsistency. While I am not able to provide a timeline for this to be addressed, I am certainly happy to post an update here as progress is made.
Thank you again for sharing these thoughts with us and my apologies for the inconvenience and frustration this has caused.
SurveyGizmo | http://surveygizmo.com