Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

JSONValidator校验错误v1.2.73 #3460

@kervin521

Description

@kervin521

String body = "11{"time":" + System.currentTimeMillis() + "}";
System.out.println(JSON.isValid(body));
System.out.println(JSONValidator.from(body).validate());

结果:
false
true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions