struct Options [src]

Configuration for the runtime parser.

Fields

ignore_unknown_fields: bool = falseIf true, unknown fields do not error.
free_on_error: bool = trueIf true, the parser cleans up partially parsed values on error. This requires some extra bookkeeping, so you may want to turn it off if you don't need this feature (e.g. because you're using arena allocation.)

Source

pub const Options = struct { /// If true, unknown fields do not error. ignore_unknown_fields: bool = false, /// If true, the parser cleans up partially parsed values on error. This requires some extra /// bookkeeping, so you may want to turn it off if you don't need this feature (e.g. because /// you're using arena allocation.) free_on_error: bool = true, }