toml 0.6.1 copy "toml: ^0.6.1" to clipboard
toml: ^0.6.1 copied to clipboard

outdated

Parser and encoder for TOML v0.4.0 (Tom's Obvious, Minimal Language) configuration files.

example/README.md

toml.dart Examples #

This directory contains examples for the usage of the toml.dart package.

  • ./custom_config_loader contains an example for how to extend the configuration file loading mechanism of toml.dart by supplying your own instance of the ConfigLoader interface.

  • ./filesystem_config_loader contains an example for how to load a configuration file in the Dart VM from the local filesystem.

  • ./flutter_example contains a Flutter example for how to use the toml.dart library to decode a TOML document as an asset string.

  • ./http_config_loader contains an example for how to load a configuration file in the browser via HTTP.

  • ./toml_encoder contains an example for how to use the TomlEncoder from the toml.encoder library to encode a Map as a TOML document.

  • ./toml_parser contains an example for how to use the TomlParser from the toml.decoder library to decode a TOML document from a string.

  • ./toml_to_json contains an example application for the conversion of TOML documents to JSON.

25
likes
0
pub points
92%
popularity

Publisher

unverified uploader

Parser and encoder for TOML v0.4.0 (Tom's Obvious, Minimal Language) configuration files.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

path, petitparser, quiver, yaml

More

Packages that depend on toml