Fix JSON parser handling for certain objects (#7162)

This PR also adds some comments and simplifies
the code. Primary handling is done to ensure
that we make sure to honor cached buffer.

Added unit tests as well

Fixes #7141
This commit is contained in:
Harshavardhana authored and Nitish Tiwari committed 2019-02-07 08:04:42 +05:30
1 parent d203e7e1cc
commit 85e939636f
22 files changed
+1016 -166

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"text": "hello world\\n2nd line"}