Skip to content

Add new StreamReadConstraints (maxTokenCount) to limit maximum number of Tokens allowed per document #1310

@cowtowncoder

Description

@cowtowncoder

As discussed in FasterXML/jackson#231 (reply in thread) it would be useful to allow limiting of input content as indicated by number of tokens -- in addition to already existing limits as of Jackson 2.17 (maximum length in bytes/chars; maximum nesting depth; maximum property name length; maximum number/text token lengths).

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.18Issues planned at earliest for 2.18processing-limitsIssues related to limiting aspects of input/output that can be processed without exception

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions