Skip to content

JsonGenerator

Describes how json values are allowed to be generated.

Properties

size?

optional size: ArbitrarySize


type

type: "object" | "value" | "array"

Determines the type of json values:

  • object - generates a json object (default)
  • array - generates a json array
  • value - generates a primitive/object/array value

utf

utf: boolean

Controls whether strings should be generated with utf16.