Provides serialization support for anything which extends from IEnumerable and has an Add method.
More...
|
| override object | CreateInstance (fsData data, Type storageType) |
| | Construct an object instance that will be passed to TryDeserialize. This should not deserialize the object.
|
| |
| bool | CanProcess (Type type) |
| | Can this converter serialize and deserialize the given object type?
|
| |
| 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.
|
| |
Provides serialization support for anything which extends from IEnumerable and has an Add method.
◆ CreateInstance()
| override object FullSerializer.Internal.fsIEnumerableConverter.CreateInstance |
( |
fsData | data, |
|
|
Type | storageType ) |
|
inlinevirtual |
Construct an object instance that will be passed to TryDeserialize. This should not deserialize the object.
- Parameters
-
| data | The data the object was serialized with. |
| storageType | The field/property type that is storing the instance. |
- Returns
- An object instance
Reimplemented from FullSerializer.fsBaseConverter.
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Tracking/JSON Serializer/Source/Converters/fsIEnumerableConverter.cs