Techiio-author
Started by Debarghya DasOct 5, 2021

Open
Json toString output for "/"

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I get a JSON response, which I parse. Then populate in a POJO. Do some work on it and finally sysops json.toString instead of printing the content of the POJO. I am using json.toString() and in the response I get "currentTime":"08\/12\/2020 02:07:31 PM PDT" which is basically using \ for escaping / but for the final output I dont want this on the console. I can only use Json simple library.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance