We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b87f33 commit f6a00e9Copy full SHA for f6a00e9
src/test/java/org/json/junit/XMLTest.java
@@ -281,14 +281,16 @@ public void testXmlEscapeToJson(){
281
"<euroX>A €22€</euroX>"+
282
"<unknown>some text ©</unknown>"+
283
"<known>" " & ' < ></known>"+
284
+ "<high>𝄢 𐅥</high>" +
285
"</root>";
286
String expectedStr =
287
"{\"root\":{" +
288
"\"rawQuote\":\"\\\"\"," +
289
"\"euro\":\"A €33\"," +
290
"\"euroX\":\"A €22€\"," +
291
"\"unknown\":\"some text ©\"," +
- "\"known\":\"\\\" \\\" & ' < >\"" +
292
+ "\"known\":\"\\\" \\\" & ' < >\"," +
293
+ "\"high\":\"𝄢 𐅥\""+
294
"}}";
295
296
compareStringToJSONObject(xmlStr, expectedStr);
0 commit comments