mirror of
https://github.com/json-c/json-c.git
synced 2026-04-05 21:39:06 +08:00
Fix issue #201: add a JSON_C_TO_STRING_NOSLASHESCAPE flag to turn off escaping of forward slashes.
This commit is contained in:
@@ -2,6 +2,9 @@ my_string=
|
||||
my_string.to_string()="\t"
|
||||
my_string=\
|
||||
my_string.to_string()="\\"
|
||||
my_string=/
|
||||
my_string.to_string()="\/"
|
||||
my_string.to_string(NOSLASHESCAPE)="/"
|
||||
my_string=foo
|
||||
my_string.to_string()="foo"
|
||||
my_int=9
|
||||
|
||||
Reference in New Issue
Block a user