mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 18:55:30 +08:00
formatting
This commit is contained in:
@@ -885,7 +885,8 @@ public class XMLTest {
|
|||||||
|
|
||||||
final JSONObject json = XML.toJSONObject(originalXml,
|
final JSONObject json = XML.toJSONObject(originalXml,
|
||||||
new XMLParserConfiguration()
|
new XMLParserConfiguration()
|
||||||
.withKeepStrings(false).withcDataTagName("content")
|
.withKeepStrings(false)
|
||||||
|
.withcDataTagName("content")
|
||||||
.withConvertNilAttributeToNull(true));
|
.withConvertNilAttributeToNull(true));
|
||||||
assertEquals(expectedJsonString, json.toString());
|
assertEquals(expectedJsonString, json.toString());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user