Specifies a data format to read and write in.
public enum DataFormat
Binary = 0
JSON = 1
Nodes = 2
|Binary||A custom packed binary format. This format is most efficient and almost allocation-free, but its serialized data is not human-readable.|
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.
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.