Skip to content

"null" is valid JSON #83

@gimmi

Description

@gimmi

The following example:

JSONAssert.assertEquals("null", "null", false);

result in this exception:

org.json.JSONException: Unparsable JSON string: null

but null is valid JSON, even at the "root" level according to THIS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions