Clone this repo:
  1. 30fd9e0 Bump dart-lang/setup-dart in the github-actions group (#168) by dependabot[bot] · 11 days ago master
  2. 4cf24ca update lints, require Dart 3.4 (#167) by Kevin Moore · 3 weeks ago
  3. 7018ac8 blast_repo fixes (#166) by Kevin Moore · 3 weeks ago
  4. 7873b3f Bump actions/checkout from 4.1.5 to 4.1.6 in the github-actions group (#165) by dependabot[bot] · 6 weeks ago
  5. 8fb8147 Bump actions/checkout from 4.1.4 to 4.1.5 in the github-actions group (#164) by dependabot[bot] · 9 weeks ago

Build Status Pub Package package publisher

A parser for YAML.

Usage

Use loadYaml to load a single document, or loadYamlStream to load a stream of documents. For example:

import 'package:yaml/yaml.dart';

main() {
  var doc = loadYaml("YAML: YAML Ain't Markup Language");
  print(doc['YAML']);
}

This library currently doesn't support dumping to YAML. You should use json.encode from dart:convert instead:

import 'dart:convert';
import 'package:yaml/yaml.dart';

main() {
  var doc = loadYaml("YAML: YAML Ain't Markup Language");
  print(json.encode(doc));
}