PerlDoc

26 August 2025 - 17:41 | Version 1 |
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki
Child packages:

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

#I think to be reusable we catually have to throw..

StaticMethod deserialise( $text, $style, $into ) → $data

StaticMethod finish

Finishes all instantiated serialisers. There should only be at most one of each serialiser instantiated at any given time, so you normally wouldn't want to call this, except perhaps from the unit test framework; see Item11349.