mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
Add logo image
This commit is contained in:
parent
143db39d27
commit
8f3e5ade18
BIN
images/JsonJava.png
Normal file
BIN
images/JsonJava.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -65,6 +65,15 @@ public class XMLTest {
|
|||||||
@Rule
|
@Rule
|
||||||
public TemporaryFolder testFolder = new TemporaryFolder();
|
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.
|
* JSONObject from a null XML string.
|
||||||
* Expects a NullPointerException
|
* Expects a NullPointerException
|
||||||
|
Loading…
x
Reference in New Issue
Block a user