fix bug and add Base58

This commit is contained in:
Looly
2022-02-25 00:40:46 +08:00
parent 8fdc9f443f
commit c3bf175b2b
2 changed files with 4 additions and 1 deletions

View File

@@ -719,6 +719,7 @@ public class JSONObject implements JSON, JSONGetter<String>, Map<String, Object>
if (StrUtil.startWith(jsonStr, '<')) {
// 可能为XML
XML.toJSONObject(this, jsonStr, false);
return;
}
init(new JSONTokener(StrUtil.trim(source), this.config));
}