Serializer class - base class for JSON/YAML serializers
Serializer class - base class for JSON/YAML serializers
file_extension(character) A file extension
path(character) full path to the yaml file
new()Create a new YAML object
Serializer$new(file_extension = NULL, path = NULL)file_extension(character) A file extension
path(character) path to the cassette, excluding the cassette directory and the file extension
A new YAML object
serialize()Serializes a hash - REPLACED BY YAML/JSON METHODS
Serializer$serialize(x, path, bytes)x(list) the object to serialize
path(character) the file path
bytes(logical) whether to preserve exact body bytes or not
(character) the YAML or JSON string to write to disk
deserialize()Serializes a file - REPLACED BY YAML/JSON METHODS
Serializer$deserialize()
clone()The objects of this class are cloneable with this method.
Serializer$clone(deep = FALSE)deepWhether to make a deep clone.