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

outdated

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

example/README.md

toml.dart Examples #

Example CI

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

  • ./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 TomlDocument.fromMap and TomlDocument.toString methods to encode a Map as a TOML document.

  • ./toml_parser contains an example for how to use the TomlDocument.parse and TomlDocument.toMap methods to decode a TOML document from a string that has been read from stdin.

  • ./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 v1.0.0 (Tom's Obvious, Minimal Language) configuration files.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

petitparser, quiver

More

Packages that depend on toml