The JSON response of the GetObjectDefNames call
https://www.rollbase.com/rest/api/getObjectDefNames?sessionId=putinyoursessionid&output=json
looks like this:
"[$GROUP, $ORG_DEPT, $ORG_FUNC, $ORG_LOCN, $SETTINGS, account55, COMMLOG, contact40, Customer4, item10, lead23, meeting, order6, orderline, salesrep_recordname, todo, USER]"
A "proper" JSON array of strings does not require the outer quotes and either string would have to be quoted individually like:
["$GROUP", "$ORG_DEPT", "$ORG_FUNC", "$ORG_LOCN", "$SETTINGS", "account55", "COMMLOG", "contact40", "Customer4", "item10", "lead23", "meeting", "order6", "orderline", "salesrep_recordname", "todo", "USER"]
As a matter of fact, the ABL JSON ObjectModelParser does require me to modify the response (first sample) to match the second sample by using String manipulations. That's probably not how it should be.
Is that intended or a bug?
It should be the latter. A bug has been logged against this and will be tracked.
Hello Mike,
This issue has been fixed in 2.2 release (26th April 2014) of the product.
Thanks,
Santosh
Hello Mike,
This issue has been fixed in 2.2 release (26th April 2014) of the product.
Thanks,
Santosh
Flag this post as spam/abuse.