mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
7.0.0.M1
This commit is contained in:
@@ -362,7 +362,7 @@ public class JSONTokener extends ReaderWrapper {
|
||||
case CharUtil.LF:
|
||||
case CharUtil.CR:
|
||||
//throw this.syntaxError("Unterminated string");
|
||||
// https://gitee.com/dromara/hutool/issues/I76CSU
|
||||
// https://gitee.com/chinabugotech/hutool/issues/I76CSU
|
||||
// 兼容非转义符
|
||||
sb.append(c);
|
||||
break;
|
||||
|
@@ -106,7 +106,7 @@ public class ArrayTypeAdapter implements MatcherJSONSerializer<Object>, MatcherJ
|
||||
}
|
||||
}
|
||||
|
||||
// https://github.com/dromara/hutool/issues/2369
|
||||
// https://github.com/chinabugotech/hutool/issues/2369
|
||||
// 非标准的二进制流,则按照普通数组对待
|
||||
final JSONArray result = context.getOrCreateArray();
|
||||
for (final byte b : bytes) {
|
||||
|
Reference in New Issue
Block a user