Added support for single quotes
This commit is contained in:
parent
846c867a1f
commit
404cfa00ae
2 changed files with 5 additions and 3 deletions
|
|
@ -154,7 +154,7 @@ public class JSONParserTest {
|
|||
"\"test3\": 1234.99," +
|
||||
"\"test4\": \"91011\"," +
|
||||
"\"test5\": [12,13,14,15]," +
|
||||
"\"test6\": [\"a\",\"b\",\"c\",\"d\"]" +
|
||||
"\"test6\": [\"a\",\'b\',\"c\",\'d\']" +
|
||||
"}";
|
||||
|
||||
DataNode data = JSONParser.read(json);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue