mirror of
https://github.com/stleary/JSON-java.git
synced 2026-05-22 00:00:58 -04:00
restore-jsonparserconfiguration: fix unit tests to work when strictMode default is true
This commit is contained in:
@@ -384,8 +384,7 @@ public class JSONPointerTest {
|
||||
String str = "{"+
|
||||
"\"string\\\\\\\\Key\":\"hello world!\","+
|
||||
|
||||
"\"\\\\\":\"slash test\"," +
|
||||
"}"+
|
||||
"\"\\\\\":\"slash test\"" +
|
||||
"}";
|
||||
JSONObject jsonObject = new JSONObject(str);
|
||||
//Summary of issue: When a KEY in the jsonObject is "\\\\" --> it's held
|
||||
|
||||
Reference in New Issue
Block a user