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? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -