Method | Description | |
---|---|---|
FromValueSerializer ( IValueSerializer valueSerializer ) : |
Creates a new Serializer that uses the specified IValueSerializer. This method is available for advanced scenarios. The preferred way to customize the bahavior of the deserializer is to use SerializerBuilder.
|
|
Serialize ( object graph ) : string |
Serializes the specified object into a string.
|
|
Serialize ( IEmitter emitter, object graph ) : void |
Serializes the specified object.
|
|
Serialize ( IEmitter emitter, object graph, |
Serializes the specified object.
|
|
Serialize ( |
Serializes the specified object.
|
|
Serialize ( |
Serializes the specified object.
|
|
Serializer ( ) : System |
Initializes a new instance of Serializer using the default configuration. To customize the bahavior of the serializer, use SerializerBuilder. |
Method | Description | |
---|---|---|
EmitDocument ( IEmitter emitter, object graph, |
||
RegisterTypeConverter ( IYamlTypeConverter converter ) : void | ||
Serializer ( IValueSerializer valueSerializer ) : System | This constructor is private to discourage its use. To invoke it, call the FromValueSerializer method. | |
Serializer ( SerializationOptions options = SerializationOptions.None, INamingConvention namingConvention = null, YamlAttributeOverrides overrides = null ) : System | ||
ThrowUnlessInBackwardsCompatibleMode ( ) : void |
public static FromValueSerializer ( IValueSerializer valueSerializer ) : |
||
valueSerializer | IValueSerializer | |
return |
public Serialize ( object graph ) : string | ||
graph | object | The object to serialize. |
return | string |
public Serialize ( IEmitter emitter, object graph ) : void | ||
emitter | IEmitter | The |
graph | object | The object to serialize. |
return | void |
public Serialize ( IEmitter emitter, object graph, |
||
emitter | IEmitter | The |
graph | object | The object to serialize. |
type | The static type of the object to serialize. | |
return | void |
public Serialize ( |
||
writer | The |
|
graph | object | The object to serialize. |
return | void |
public Serialize ( |
||
writer | The |
|
graph | object | The object to serialize. |
type | The static type of the object to serialize. | |
return | void |