Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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