[progress Communities] [progress Openedge Abl] Forum Post: Re: Odd Json Request

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello, I guess that you could use a CHARACTER or LONGCHAR parameter to return the string. (Similar to how the following sample returns the JSON text: community.progress.com/.../image3.png ) However, if you have special characters in the string you would need to the serialization on your own. (Or use a JsonObject variable to get the serialized string and extract it from it.) BTW, if you need to validate the JSON value that you are generating, you could use http://jsonlint.com/ It seems that the JSON API in the ABL only supports RFC 4627 but not the updated RFC 7158 In RFC 4627, a JSON document was defined as only an object or an array. RFC 7158 removes this restriction. ( tools.ietf.org/.../rfc7158 ). I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top