Skip to content

Commit

Permalink
Add logo image
Browse files Browse the repository at this point in the history
  • Loading branch information
stleary committed Jun 23, 2021
1 parent 143db39 commit 8f3e5ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added images/JsonJava.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/test/java/org/json/junit/XMLTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ public class XMLTest {
@Rule
public TemporaryFolder testFolder = new TemporaryFolder();

@Test
public void what() {
String s = "<example><value attribute=\"value\"><![CDATA[some treatment <b>plant</b> with bio chemicals]]></value></example>";
JSONObject jo = XML.toJSONObject(s);
System.out.println(jo.toString());
}



/**
* JSONObject from a null XML string.
* Expects a NullPointerException
Expand Down

0 comments on commit 8f3e5ad

Please sign in to comment.