Skip to content

Commit 402c13e

Browse files
committed
- added unit test and roadmap for handling of escape sequence "\/"
1 parent 7469f1d commit 402c13e

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Diff for: doc/roadmap.dox

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
- Enforce only object or array as root element
2727
- Disable comment support
2828
- Get jsonchecker failing tests to pass in strict mode
29+
\section ms_writer Writter control
30+
Provides more control to determine how specific items are serialized when JSON allow choice:
31+
- Optionally allow escaping of non-ASCII characters using unicode escape sequence "\\u".
32+
- Optionally allow escaping of "/" using "\/".
2933
\section ms_separation Expose json reader/writer API that do not impose using Json::Value.
3034
Some typical use-case involve an application specific structure to/from a JSON document.
3135
- Event base parser to allow unserializing a Json document directly in datastructure instead of
@@ -35,7 +39,7 @@
3539
- Provides an event based parser. Should allow pulling & skipping events for ease of use.
3640
- Provides a JSON document builder: fast only.
3741
\section ms_perfo Performance tuning
38-
- Provides support for static property name definition avoiding allocation
42+
- Provides support for static property name definition avoiding allocation
3943
- Static property dictionnary can be provided to JSON reader
4044
- Performance scenario & benchmarking
4145
*/

Diff for: test/data/test_string_03.expected

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.="http://jsoncpp.sourceforge.net/"

Diff for: test/data/test_string_03.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"http:\/\/jsoncpp.sourceforge.net\/"

0 commit comments

Comments
 (0)