internal package
Foswiki::Serialise internal package
Foswiki::Serialise API to allow structures to be serialised and de-serialized. This API will only return basic types like hashes and arrarys
StaticMethod
serialise( $value, $style ) → $cereal $value
the perl object we're serializing (typically a ref/obj)
$style
serialization format
#TODO: do we need to use Foswiki, or can we throw a Simple exception instead? #I think to be reusable we catually have to throw..
StaticMethod
deserialise( $text, $style, $into ) → $data $text
the data we are deserialising
$style
serialization format TODO: please work out how to add some autodetection of format
$into
the perl object we're deserializing into. The serialiser is matched to this object type.
StaticMethod
finish