Skip to content

JSONParser doesn't support null, false, true #205

@colltoaction

Description

@colltoaction

JSONParser is missing support for JSON values such as null, true, false. This means I can't use the compareJSON or other higher-level methods like Spring's WebTestClient.

E.g this won't work:

WebTestClient client = ...;
client.get().uri("/ips/42")
        //...
        .expectBody().json("null");

I can send a PR if a maintainer would want that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions