Skip to content

Commit 8f3e5ad

Browse files
committed
Add logo image
1 parent 143db39 commit 8f3e5ad

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

images/JsonJava.png

15.3 KB
Loading

src/test/java/org/json/junit/XMLTest.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,15 @@ public class XMLTest {
6565
@Rule
6666
public TemporaryFolder testFolder = new TemporaryFolder();
6767

68+
@Test
69+
public void what() {
70+
String s = "<example><value attribute=\"value\"><![CDATA[some treatment <b>plant</b> with bio chemicals]]></value></example>";
71+
JSONObject jo = XML.toJSONObject(s);
72+
System.out.println(jo.toString());
73+
}
74+
75+
76+
6877
/**
6978
* JSONObject from a null XML string.
7079
* Expects a NullPointerException

0 commit comments

Comments
 (0)