toml 0.17.0
toml: ^0.17.0 copied to clipboard
Parser and encoder for TOML v1.0.0 (Tom's Obvious, Minimal Language) configuration files.
toml.dart Examples #
This directory contains examples for the usage of the toml.dart package.
-
./filesystem_config_loadercontains an example for how to load a configuration file in the Dart VM from the local filesystem. -
./filesystem_config_savercontains an example for how to save a configuration file in the Dart VM to the local filesystem. -
./flutter_examplecontains a Flutter example for how to use thetoml.dartlibrary to decode a TOML document as an asset string. -
./http_config_loadercontains an example for how to load a configuration file in the browser via HTTP. -
./toml_encodercontains an example for how to use theTomlDocument.fromMapandTomlDocument.toStringmethods to encode aMapas a TOML document. -
./toml_parsercontains an example for how to use theTomlDocument.parseandTomlDocument.toMapmethods to decode a TOML document from a string that has been read fromstdin. -
./toml_to_jsoncontains an example application for the conversion of TOML documents to JSON.