IJsonWritableProxy<TValue, TProxy>
Namespace: SnowBank.Data.Json · interface
Implements: IJsonWritableProxy<TValue>, IJsonWritableProxy, IJsonSerializable, IJsonPackable
Wraps a JsonValue into typed mutable proxy that emulates the type TValue
Remarks
This interface is a marker for "wrapper types" that replicate the same set of properties and fields as TValue, using a wrapped JsonValue as source.
Properties
Converter
static IJsonConverter<TValue> Converter { get; }
Returns the IJsonConverter used by proxies of this type
Methods
Create
static TProxy Create(JsonValue value)
Wraps an instance type TValue into mutable proxy
static TProxy Create(MutableJsonValue obj, IJsonConverter<TValue> converter = null)
Wraps a JSON Value into a mutable proxy for type TValue
static TProxy Create(IMutableJsonContext tr, JsonValue value)
Wraps an instance type TValue into mutable proxy
static TProxy Create(TValue value, CrystalJsonSettings settings = null, ICrystalJsonTypeResolver resolver = null)
Wraps an instance type TValue into mutable proxy
static TProxy Create(IMutableJsonContext tr, TValue value, CrystalJsonSettings settings = null, ICrystalJsonTypeResolver resolver = null)
Wraps an instance type TValue into mutable proxy