Load Settings
Immutable configuration for loading.
Constructors
Properties
YAML 1.2 does require unique keys. To support the backwards compatibility, it is possible to select what should happen when non-unique keys are detected.
Allow only non-recursive keys for maps and sets. By default, it is not allowed. Even though YAML allows using anything as a key, it may cause unexpected issues when loading recursive structures.
Buffer size for incoming data stream, in bytes. If the incoming stream is already buffered, then changing the buffer does not improve the performance
The max number of code points for every input YAML document in the stream. Please be aware that the byte limit depends on the encoding. The presence of the document indicators '---' or/and '...' will affect the doc size (even though they do not belong to the document content)
Provide a custom property to be used later
Default List implementation, as a function of its initial size. ArrayList is used if nothing provided.
Default Map implementation, as a function of its initial size. LinkedHashMap is used if nothing provided.
Default Set implementation, as a function of its initial size. LinkedHashSet is used if nothing provided.
Restrict the number of aliases for collection nodes to prevent 'billion laughs attack'. The purpose of this setting is to force SnakeYAML to fail before a lot of CPU and memory resources are allocated for the parser. Aliases for scalar nodes do not count because they do not grow exponentially.
Parse comments to the presentation tree (Node). False by default. Use true to parse comments to the presentation tree (Node)
Provide either recommended or custom schema instead of default * it.krzeminski.snakeyaml.engine.kmp.schema.DEFAULT_SCHEMA These 3 are available it.krzeminski.snakeyaml.engine.kmp.schema.FailsafeSchema, it.krzeminski.snakeyaml.engine.kmp.schema.JsonSchema, it.krzeminski.snakeyaml.engine.kmp.schema.CoreSchema.
Constructors for the specified tags.
Manage YAML directive value which defines the version of the YAML specification. This parser supports YAML 1.2, but it can parse most of YAML 1.1 and YAML 1.0