Fix JSONML text double decoding with keepStrings

This commit is contained in:
boulea7
2026-10-02 18:18:04 +08:00
parent 18e8ef6e61
commit f3c83d8349
2 changed files with 93 additions and 1 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ public class JSONML {
if (token instanceof String) {
String strToken = (String) token;
if (config.isKeepStrings()) {
value = XML.unescape(strToken);
value = strToken;
} else {
value = XML.stringToValue(strToken);
}