Skip to content

Add vanilla flag for generators #485

@cowtowncoder

Description

@cowtowncoder

With 3.0 we can start specializing generators (and parsers too) more, due to full immutability of feature flags.

One thing that should allow minor performance optimization is separating "non-vanilla" feature handling, such as:

  • Unquoted field names
  • Pretty-printing
  • Custom escaping

into either fully separate generator implementations, or, as the first step, to use "vanilla flag" (similar to how BeanDeserializer works) to at least combine many checks into one, streamlining the default case of not requiring additional checks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.xIssues to be only tackled for Jackson 3.x, not 2.xperformanceIssue related to performance problems or enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions