Replies: 1 comment
-
I am not entirely sure what you want to accomplish, but you can set a string with json x = "32"; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If i'm 100% sure that a string is in a valid format, how can I set the string as its internal JSON value? E.g
x = "32"
json.set("age",x) -> in this instance age would have the int 32 as a value, instead of the string. If x = "\"32\"" , it would then be a string. Is this possible, or is there a workaround for that?
Beta Was this translation helpful? Give feedback.
All reactions