Class StreamReadConstraints

  • All Implemented Interfaces:
    java.io.Serializable

    public class StreamReadConstraints
    extends java.lang.Object
    implements java.io.Serializable
    The constraints to use for streaming reads: used to guard against malicious input by preventing processing of "too big" input constructs (values, structures). Constraints are registered with TokenStreamFactory (such as JsonFactory); if nothing explicitly specified, default constraints are used.

    Currently constrained aspects, with default settings, are:

    Since:
    2.15
    See Also:
    Serialized Form