Skip to content

SimdJson is not compatible with null on the path.  #38

@heykirby

Description

@heykirby

for example json:
{ "field1": { "field2": "xx" } }

SimdJsonParser parser = new SimdJsonParser();\n JsonValue value = parser.parse(json.getBytes(), json.length()); value.get("field1").get("field3").toString();
image
The above program will throw a null pointer exception during runtime.
but jackson is compatible with this situation.

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