hocon v0.1.8 Hocon.Parser View Source
Link to this section Summary
Link to this section Functions
Parses and decodes a hocon string and returns a map
options
:convert_numerically_indexed
- if set to true then numerically-indexed objects are converted to arrays:strict_conversion
- if set totrue
then numerically-indexed objects are only converted to arrays if all keys are numbers:file_resolver
- a module which uses theHocon.Resolver
behaviour. If missing theHocon.FileResolver
is used as default.
Similar to decode/2
except it will unwrap the error tuple and raise
in case of errors.