Class: KwalifyToJsonSchema::Serialization::Yaml
- Defined in:
- lib/kwalify_to_json_schema/serialization.rb
Class Method Summary collapse
Methods inherited from Language
Class Method Details
.deserialize(string) ⇒ Object
48 |
# File 'lib/kwalify_to_json_schema/serialization.rb', line 48 def self.deserialize(string); YAML.load(string); end |
.serialize(object) ⇒ Object
47 |
# File 'lib/kwalify_to_json_schema/serialization.rb', line 47 def self.serialize(object); YAML.dump(object); end |