mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 19:35:31 -04:00
formatting
This commit is contained in:
parent
5a31f9ef5f
commit
4f1c8b2d6f
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user