Skip to content

Parse only needed fields #211

@Raimo33

Description

@Raimo33

Is your feature request related to a problem? Please describe.
My feature aims to significantly improve deserialization speed when expected keys are known beforehand

Describe the solution you'd like
Make it possible to initialize the deserializer so that only the wanted fields (precomputed at compile time) are extracted and considered in the parsing phase.

Additional context
This technique is not widely used, and I believe it could set yyjson even further from competition

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions