Skip to content

[BUG]JSONValidator.from(str).validate()结果错误 #2692

Open
@lihangfu

Description

问题描述

String str = "{"你好":"text"},";
System.out.println(JSONValidator.from(str).validate());
我认为这是一个非法的JSON,然后输出结果为true

重现步骤

String str = "{\"你好\":\"text\"},";
System.out.println(JSONValidator.from(str).validate());

期待的正确结果

false

相关日志输出

true

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions