Version 3.3.0.1

DataFormat enum

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization.Config
public enum DataFormat
Specifies a data format to read and write in.

Values

Binary
A custom packed binary format. This format is most efficient and almost allocation-free, but its serialized data is not human-readable.
JSON
A JSON format compliant with the json specification found at "http://www.json.org/".

This format has rather sluggish performance and allocates frightening amounts of string garbage.

Nodes
A format that does not serialize to a byte stream, but to a list of data nodes in memory which can then be serialized by Unity.

This format is highly inefficient, and is primarily used for ensuring that Unity assets are mergeable by individual values when saved in Unity's text format. This makes serialized values more robust and data recovery easier in case of issues.

This format is *not* recommended for use in builds.