View previous topic :: View next topic
|
Author |
Message |
makri
New User
Joined: 10 Aug 2021 Posts: 3 Location: india
|
|
|
|
Hi all ,
We are using cobol version 6.1.0.
By using JSON Generate command , we are able to create JSON message but we wanted to know how we can have boolean values in JSON message.
Currently we are having string values and wanted to display them as boolean .
Please provide your inputs. |
|
Back to top |
|
 |
makri
New User
Joined: 10 Aug 2021 Posts: 3 Location: india
|
|
|
|
I wanted to know if there is any way to unquote the JSON string.
The string value need to be converted to boolean so that it is displayed without quotes. |
|
Back to top |
|
 |
makri
New User
Joined: 10 Aug 2021 Posts: 3 Location: india
|
|
|
|
Is there any way to replace the Boolean values in the JSON message without quotes ?
Currently it is displayed as a:"true" and b:"false" etc in the string.
Any way to replace "true" and "false" as true and false respectively. |
|
Back to top |
|
 |
|