Namespace Unity.VisualScripting.FullSerializer
Classes
AnimationCurve_DirectConverter
Bounds_DirectConverter
fsAotCompilationManager
The AOT compilation manager
fsArrayConverter
fsBaseConverter
The serialization converter allows for customization of the serialization process.
fsConfig
Enables some top-level customization of Full Serializer.
fsContext
fsContext stores global metadata that can be used to customize how fsConverters operate during serialization.
fsConverter
The serialization converter allows for customization of the serialization process.
fsConverterRegistrar
This class allows arbitrary code to easily register global converters. To
add a converter, simply declare a new field called "Register_" that
stores the type of converter you would like to add. Alternatively, you
can do the same with a method called "Register_"; just add the converter
type to the Converters
list.
fsData
A union type that stores a serialized value. The stored type can be one of six different types: null, boolean, double, Int64, string, Dictionary, or List.
fsDateConverter
Supports serialization for DateTime, DateTimeOffset, and TimeSpan.
fsDictionaryConverter
fsDirectConverter
The direct converter is similar to a regular converter, except that it targets specifically only one type. This means that it can be used without performance impact when discovering converters. It is strongly recommended that you derive from fsDirectConverter{TModel}.
fsDirectConverter<TModel>
fsDuplicateVersionNameException
fsEnumConverter
Serializes and deserializes enums by their current name.
fsForwardAttribute
This allows you to forward serialization of an object to one of its
members. For example,
[fsForward("Values")]
struct Wrapper {
public int[] Values;
}
Then Wrapper
will be serialized into a JSON array of integers. It will
be as if Wrapper
doesn't exist.
fsForwardConverter
fsGlobalConfig
fsGuidConverter
Serializes and deserializes guids.
fsIEnumerableConverter
Provides serialization support for anything which extends from
IEnumerable
and has an Add
method.
fsIgnoreAttribute
The given property or field annotated with [JsonIgnore] will not be serialized.
fsJsonParser
A simple recursive descent parser for JSON.
fsJsonPrinter
fsKeyValuePairConverter
fsMetaProperty
A property or field on a MetaType. This unifies the FieldInfo and PropertyInfo classes.
fsMetaType
MetaType contains metadata about a type. This is used by the reflection serializer.
fsMissingVersionConstructorException
fsNullableConverter
The reflected converter will properly serialize nullable types. However, we do it here instead as we can emit less serialization data.
fsObjectAttribute
This attribute controls some serialization behavior for a type. See the comments on each of the fields for more information.
fsObjectProcessor
Enables injecting code before/after an object has been serialized. This is most useful if you want to run the default serialization process but apply a pre/post processing step.
Multiple object processors can be active at the same time. When running they are called in a "nested" fashion - if we have processor1 and process2 added to the serializer in that order (p1 then p2), then the execution order will be p1#Before p2#Before /serialization/ p2#After p1#After.
fsPrimitiveConverter
fsPropertyAttribute
Explicitly mark a property to be serialized. This can also be used to give the name that the property should use during serialization.
fsReflectedConverter
fsReflectionUtility
fsSerializationCallbackProcessor
fsSerializationCallbackReceiverProcessor
fsSerializer
fsTypeCache
Caches type name to type lookups. Type lookups occur in all loaded assemblies.
fsTypeConverter
fsWeakReferenceConverter
Serializes and deserializes WeakReferences.
Gradient_DirectConverter
GUIStyle_DirectConverter
GUIStyleState_DirectConverter
Keyframe_DirectConverter
LayerMask_DirectConverter
Rect_DirectConverter
RectOffset_DirectConverter
Structs
fsResult
The result of some sort of operation. A result is either successful or not, but if it is successful then there may be a set of warnings/messages associated with it. These warnings describe the performed error recovery operations.
Interfaces
fsISerializationCallbacks
Extend this interface on your type to receive notifications about serialization/deserialization events. If you don't have access to the type itself, then you can write an fsObjectProcessor instead.
Enums
fsDataType
The actual type that a JsonData instance can store.
fsMemberSerialization
Controls how the reflected converter handles member serialization.