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

haskell - Using filter on an item in a list? -

Cursor error with postgresql, pgpool and php -

iphone - Request for member 'uitextfield' in something not a structure or union? -