>On 28/08/2018 1:11 AM, Tom Ross wrote:
>>> On 22/08/2018 11:51 PM, Charles Mills wrote:
>>>
>>>> COBOL does not seem like a great choice either to me personally, but so=
>me=3D
>>>> folks, and especially some shops, are most comfortable with COBOL.
>> The JSON PARSE statement in COBOL is the keasiest way to parse JSON ever!
>
>
>You can't argue with that! Almost as easy as JavaScript :)
>
>let obj =3D JSON.parse('{ "name":"John", "age":30, "city":"New York"}');
>
>Is there a COBOL equivalent to JSON.stringify?

Yes!  It is the JSON GENERATE statement, available in 2016 in COBOL V6.1

Cheers,
TomR              >> COBOL is the Language of the Future! <<

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to