Skip to content

Mismatched property name for byte-backed JsonParser.nextNameMatch(PropertyNameMatcher) #1491

@cowtowncoder

Description

@cowtowncoder

(note: created based on FasterXML/jackson-databind#5372)

Looks like following JSON can produce property name mismatch:

            {
              "aaaabbbbcccc": "v3",
              "aaaabbbbcccc2": "v4"
            }

via byte-based streaming (UTF8) parser.

Since the original test is on databind, it is unclear on which codepath: either regular canonicalizing parser, or with PropertyNameMatcher (new in 3.0) -- my guess is latter.

Regardless, need to figure it out: so start with test to reproduce.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.0Issue planned for initial 3.0 releasegen-aiPR created with Generative AI (whole or assisted) (or issue for which gen-ai seems suitable)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions