Data Containers
Data Containers store Data Tokens in various different formats, either as a sequential Data List or as a key-value pair Data Dictionary. They are functionally similar to C# Lists and Dictionaries.
DataTokens, in turn, store any other values that you could need. Each token stores one and only one variable, but that could include a whole other DataDictionary or DataList, in order to support nesting.
Additionally, Data Containers are compatible with VRCJSON, which allows you to convert data to/from the standard JSON format, which may come from external sources such as remote string loading.
📄️ Byte and Bit Operations
This page describes lower level concepts of working with binary data and is intended for advanced creators.
📄️ Data Dictionaries
Data Dictionaries store Data Tokens by key-value pair, similarly to C# Dictionaries. Most Data Dictionary functions are just wrappers for the underlying C# dictionary, so the C# dictionary documentation also applies if you are looking for more specific details.
📄️ Data Lists
Data Lists store Data Tokens by index, similarly to C# Lists. Most Data List functions are just wrappers for the underlying C# list, so the C# list documentation also applies if you are looking for more specific details.
📄️ Data Tokens
Data Tokens store data. Each token stores one and only one variable. Data Tokens are used in Data Dictionaries and Data Lists.
📄️ VRCJSON
Data Dictionaries and Data Lists include functions to convert to and from JSON. A Data List is equivalent to a JSON array, and a JSON object is equivalent to a Data Dictionary with string keys.