25.1 Overview

Plugins that have the capability flag HWPLUG_CAPS_SERIALIZE set can provide support for additional formats for data serialization. By default, Hollywood only supports JSON and a proprietary format. Serializer plugins can extend Hollywood's serialization functionality by providing support for additional formats, e.g. XML.

Hollywood tables can be serialized using the following functions: SerializeTable(), DeserializeTable(), WriteTable(), ReadTable(). Those functions accept an optional argument that can be used to specify an adapter to use for serializing. This is where users will have to pass the name of your serializer plugin to make Hollywood use it instead of its inbuilt serializers. See the Hollywood documentation on those functions for details.

This plugin type is supported since Hollywood 9.0.

Show TOC