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
internal package
Foswiki::Serialise::Embedded This is the on disk format serialiser and deserialise for Foswiki topics legacy .txt format.
WARNING this is only for Foswiki::Meta objects.
ClassMethod
new( $class, ) → $cereal StaticMethod
dataEncode( $uncoded ) → $coded Encode meta-data field values, escaping out selected characters. The encoding is chosen to avoid problems with parsing the attribute values in embedded meta-data, while minimising the number of characters encoded so searches can still work (fairly) sensibly.
The encoding has to be exported because Foswiki (and plugins) use encoded field data in other places e.g. RDiff, mainly as a shorthand for the properly parsed meta object. Some day we may be able to eliminate that....
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