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