Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
lino.utils.dataserializer¶
YAML serializer.
Requires PyYaml (http://pyyaml.org/), but that’s checked for in __init__.
Functions
|
Deserialize a stream or string of YAML data. |
Classes
|
|
loaddata requires DeserializedObject instances, but this Deserializer does not bypass pre_save/save methods. |
|
|
- class lino.utils.dataserializer.FakeDeserializedObject(obj)¶
Bases:
DeserializedObject
loaddata requires DeserializedObject instances, but this Deserializer does not bypass pre_save/save methods.
- lino.utils.dataserializer.Deserializer(stream_or_string, **options)¶
Deserialize a stream or string of YAML data.