rookie_yaml 0.7.0-pre.3 copy "rookie_yaml: ^0.7.0-pre.3" to clipboard
rookie_yaml: ^0.7.0-pre.3 copied to clipboard

A highly configurable parser and dumper for YAML (and optionally json).

example/main.dart

import 'package:rookie_yaml/rookie_yaml.dart';

void main(List<String> args) {
  const yaml = '''
plain
---
"double quoted"
---
'single quoted'
---
> # Comment
  folded
---
| # Comment
  literal
---
flow: {
  flow: map
  flow: [sequence]
 }
block:
  block: map
  block:
    - sequence
''';

  final docs = loadAllObjects(YamlSource.string(yaml)); // Parse documents

  print(docs);
}
0
likes
160
points
25
downloads

Documentation

API reference

Publisher

verified publisherecacene.dev

Weekly Downloads

A highly configurable parser and dumper for YAML (and optionally json).

Repository (GitHub)
View/report issues
Contributing

Topics

#yaml #json

License

BSD-3-Clause (license)

Dependencies

collection, logging, meta

More

Packages that depend on rookie_yaml