JSON String formatting Cobol

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

JSON String formatting Cobol

Postby manju23 » Wed Aug 11, 2021 4:12 pm

Hi all,

I would like to replace "true" by true and "false" by false in a JSON formatted string in Cobol.

For eg : a:"true" need to be replaced as a:true and b:"false" need to be replaced by b:false.

The replacement should happen for all occurences of "true" and "false" in the string .

Basically the requirement to send true or false values in string without being enclosed in quotes.
Posts: 1
Joined: Wed Aug 11, 2021 4:02 pm
Has thanked: 0 time
Been thanked: 0 time

Return to IBM Cobol


  • Related topics
    Last post