| proto external void | ConfigureTypeDiscriminator (string fieldName="$type") |
| | Type discriminator is used to add polymorph object instance support to the serializer.
|
| proto external bool | EnableTypeDiscriminator (bool enabled) |
| | Enable or disable, can be used to pause it for a specific variable and resume after it was written.
|
| proto external bool | IsTypeDiscriminatorEnabled () |
| | Is the type discrimiation currently enabled.
|
| | Reset buffers to re-use for new data.
|
| proto bool | StartMap (string name, out int count) |
| | Start new map. Empty name will result in an anonymous map. Count must be known ahead of time.
|
| proto bool | StartArray (string name, out int count) |
| | Start new array. Empty name will result in an anonymous array. Count must be known ahead of time.
|
| proto external bool | StartObject (string name=string.Empty) |
| | Start new subobject. Empty name will result in an anonymous object.
|