LoaderSettings
Loader settings cover all options related explicitly (only) to file loading.
Last updated
Loader settings cover all options related explicitly (only) to file loading.
Last updated
Settings introduced by BoostedYAML follow builder design pattern, e.g. you may build your own settings using:
Sets if to create a new file and save it if it does not exist automatically.
Not effective if there is no file associated with the document.
Default: true
(enabled)
If enabled, automatically calls after the document has been loaded.
Not effective if there are no defaults associated with the document.
Default: false
(disabled)
Sets custom label for error messages.
Sets if to print detailed error messages.
Sets if to allow duplicate keys in sections (last key wins when loading).
Sets custom node to Java object constructors, per YAML tag.
Sets custom schema to use. Schemas are used to resolve and determine object tags contained within a document. This setting replaces setScalarResolver
available until the 1.3.6 release.
Sets custom environment variable config.
Default: defined by the parent method Parent method docs (v2.3): Related YAML spec (v1.2.2): -
Default: true
Parent method docs (v2.3):
Related YAML spec (v1.2.2): -
Default: true
Parent method docs (v2.3):
Related YAML spec (v1.2.2): -
Sets maximum aliases a collection can have to prevent memory leaks (see ).
Default: defined by the parent method Parent method docs (v2.3): Related YAML spec (v1.2.2): -
Default: defined by the parent method Parent method docs (v2.3): Related YAML spec (v1.2.2): ,
Default: defined by the parent method Parent method docs (v2.7): Related YAML spec (v1.2.2): ,
Default: defined by the parent method Parent method docs (v2.3): Related YAML spec (v1.2.2): -