[]
Represents the builder for the JSON object coder.
public sealed class JsonObjectCoderBuilder<TObject> where TObject : new()
Name | Description |
---|---|
TObject |
Name | Description |
---|---|
JsonObjectCoderBuilder() |
Name | Description |
---|---|
End() | Gets a coder for the |
Prop<TProperty>(Expression<Func<TObject, TProperty>>, JsonCoder<TProperty>, Func<TProperty, bool>) | Adds a property to the JSON object coder with the specified getter and coder. The property name is derived from the expression. |
Prop<TProperty>(string, JsonCoder<TProperty>, Func<TObject, TProperty>, Action<TObject, TProperty>, Func<TProperty, bool>) | Adds a property to the JSON object coder with the specified name, coder, getter function, and setter function. |
Prop<TProperty>(string, Expression<Func<TObject, TProperty>>, JsonCoder<TProperty>, Func<TProperty, bool>) | Adds a property to the JSON object coder with the specified name, getter, and coder. |
Sub<TProperty>(Expression<Func<TObject, TProperty>>, Action<JsonObjectCoderBuilder<TProperty>>, Func<TProperty, bool>) | Adds a child bject properties to the JSON object coder with the specified getter, and coder. |