jsonnet v0.2.1 Jsonnet
Jsonnet
parses .jsonnet
files and returns the content.
Link to this section Summary
Functions
Takes a JSONNET string and returns the data as a tagged tuple with Elixir data structures. This
uses Jason
to deserialize the data and takes the same options.
Takes a files name returns the data as a tagged tuple with Elixir data structures. This uses
Jason
to deserialize the data and takes the same options.
Takes a JSONNET string and returns the data as a tagged tuple with a JSON string.
Takes a filename and returns the data as a tagged tuple with a JSON string.
Link to this section Functions
decode(jsonnet, opts \\ [])
Takes a JSONNET string and returns the data as a tagged tuple with Elixir data structures. This
uses Jason
to deserialize the data and takes the same options.
decode_file(filename, opts \\ [])
Takes a files name returns the data as a tagged tuple with Elixir data structures. This uses
Jason
to deserialize the data and takes the same options.
parse(jsonnet)
Specs
Takes a JSONNET string and returns the data as a tagged tuple with a JSON string.
parse_file(filename)
Specs
Takes a filename and returns the data as a tagged tuple with a JSON string.