mirror of
https://github.com/json-c/json-c.git
synced 2026-04-04 12:59:07 +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:
@@ -63,6 +63,11 @@ extern "C" {
|
||||
*/
|
||||
#define JSON_C_TO_STRING_NOZERO (1<<2)
|
||||
|
||||
/**
|
||||
* Don't escape forward slashes.
|
||||
*/
|
||||
#define JSON_C_TO_STRING_NOSLASHESCAPE (1<<4)
|
||||
|
||||
/**
|
||||
* A flag for the json_object_object_add_ex function which
|
||||
* causes the value to be added without a check if it already exists.
|
||||
|
||||
Reference in New Issue
Block a user