mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix buf
This commit is contained in:
@@ -77,6 +77,8 @@ public class JSONParser {
|
||||
case ';':
|
||||
case ',':
|
||||
if (tokener.nextClean() == '}') {
|
||||
// issue#2380
|
||||
// 尾后逗号(Trailing Commas),JSON中虽然不支持,但是ECMAScript 2017支持,此处做兼容。
|
||||
return;
|
||||
}
|
||||
tokener.back();
|
||||
|
Reference in New Issue
Block a user