You are here: Foswiki>System Web>Category>DeveloperDocumentationCategory>PerlDoc (2024-12-23, UnknownUser)Edit Attach
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
On this page:
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 #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 $into the perl object we're deserializing into. The serialiser is matched to this object type. 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.
Edit | Attach | Print version | History: r1 | Backlinks | View wiki text | Edit wiki text | More topic actions
Topic revision: r1 - 2024-12-23, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback