YAML 1.2 and JSON parser in pure Erlang
BSD-2-CLAUSE License
Bot releases are visible (Hide)
{keep_duplicate_keys, boolean()}
to keep duplicate keys in the construction of mappings (#52, #53), thanks to @flurin.In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
Published by dumbbell almost 3 years ago
]
or }
character is missing (#43, #50).Also, the CI was switched from Travis to GitHub Actions.
Thank you to all contributors for their reports & patches!
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
Published by dumbbell almost 4 years ago
#unfinished_node{}
record (see #42), thanks to @xinz.In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
Published by dumbbell over 4 years ago
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
Published by dumbbell over 4 years ago
Load the appropriate modules when a document indicates it follows YAML 1.1. Before, YAML 1.2 core schema modules would always be used, except if the caller explicitely set the schema to yaml11
.
Another consequence of this change is that multiple documents in a single stream should be parsed according to their YAML version if they specify a different one.
yamerl_constr
takes a new option, ignore_unrecognized_tags
, to ignore unrecognized tags (!) and construct a term as if the node was a plain untagged node.
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
Published by dumbbell almost 7 years ago
{map_node_format, proplist | map}
to choose how YAML maps should be formatted (see #23).yamerl_parsing_error
record: unpected_token
-> unexpected_token
(see #21).In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
Published by dumbbell over 7 years ago
...
) or directive (---
) end indicator (see #18).base2_to_integer/2
and base60_to_integer/3
from yamerl_node_int
because this format is not supported by this syntax (see commit 91c75e33a363ba278e267688c0795cc26c1b07ad).base*_to_integer()
from the public API of this module (see commit 3d13c91ebc4503b88eb61b188b7ec32158d3ab01).In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
Published by dumbbell almost 8 years ago
The build system was switched from Automake to Rebar 3 (#15). It should be easier for users to build, test and contribute to yamerl.
About testing, the testsuite is now plain EUnit modules, as opposed to generated EUnit modules with Automake.
The documentation was moved from plain Markdown to regular EDoc. This should make users of some IDE easier with integrated documentation.
In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation:
Published by dumbbell almost 8 years ago
test:
(without a newline character at the end). See #14.mix docs
. This was a required step for Hex.pm.In addition to this GitHub repository, yamerl is available as an Hex.pm package, with online documentation: