module YAML::Schema::FailSafe

Overview

Provides a way to parse a YAML document according to the fail-safe schema, as specified in http://www.yaml.org/spec/1.2/spec.html#id2802346, where all scalar values are considered strings.

Defined in:

yaml/schema/fail_safe.cr

Class Method Summary

Class Method Detail

def self.parse(data : String | IO) : AnySource

Deserializes a YAML document.

def self.parse_all(data : String | IO) : Array(Any)Source

Deserializes multiple YAML documents.

© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/YAML/Schema/FailSafe.html