Added support for single quotes

This commit is contained in:
Ziver Koc 2023-03-27 00:13:13 +02:00
parent 846c867a1f
commit 404cfa00ae
2 changed files with 5 additions and 3 deletions

View file

@ -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);