java - How do I remove quotes from a boolean value in a JSON string? -


i have:

string example = {"test":"true"} 

but want have:

example = {"test":true} 

how can convert first string second?

use regular expression and/or string class method 'replaceall'.


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -