Shared constraints for:

Since 3.19.0

interface UnicodeJsonSharedConstraints {
    depthSize?: DepthSize;
    maxDepth?: number;
}

Properties

depthSize?: DepthSize

Limit the depth of the object by increasing the probability to generate simple values (defined via values) as we go deeper in the object.

Since 2.20.0

maxDepth?: number

Maximal depth allowed

Number.POSITIVE_INFINITY — defaulting seen as "max non specified" when defaultSizeToMaxWhenMaxSpecified=true

Since 2.5.0