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).