The serialization converter allows for customization of the serialization process.
More...
|
| bool | CanProcess (Type type) |
| | Can this converter serialize and deserialize the given object type?
|
| |
| virtual object | CreateInstance (fsData data, Type storageType) |
| | Construct an object instance that will be passed to TryDeserialize. This should not deserialize the object.
|
| |
| virtual bool | RequestCycleSupport (Type storageType) |
| | If true, then the serializer will support cyclic references with the given converted type.
|
| |
| virtual bool | RequestInheritanceSupport (Type storageType) |
| | If true, then the serializer will include inheritance data for the given converter.
|
| |
| fsResult | TrySerialize (object instance, out fsData serialized, Type storageType) |
| | Serialize the actual object into the given data storage.
|
| |
| fsResult | TryDeserialize (fsData data, ref object instance, Type storageType) |
| | Deserialize data into the object instance.
|
| |
|
|
fsSerializer | Serializer |
| | The serializer that was owns this converter.
|
| |
The serialization converter allows for customization of the serialization process.
◆ CanProcess()
| bool FullSerializer.fsConverter.CanProcess |
( |
Type | type | ) |
|
|
abstract |
Can this converter serialize and deserialize the given object type?
- Parameters
-
| type | The given object type. |
- Returns
- True if the converter can serialize it, false otherwise.
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Tracking/JSON Serializer/Source/fsConverter.cs