JsonField<TValue> class

namespace: Serenity.Data   assemblySerenity.Net.Services

Field with JSON value

public class JsonField<TValue> : GenericClassField<TValue>
    where TValue : class
parameter description
TValue The type of the value.
collection The collection.
name The name.
caption The caption.
size The size.
flags The flags.
getValue The get value.
setValue The set value.

Public Members

name description
JsonField(…) Field with JSON value
static Factory(…) Static factory for field, for backward compatibility, avoid using.
SerializerOptions { get; set; } Gets or sets the settings.
override AsSqlValue(…) Gets the value of this row as an SQL value.
override GetFromReader(…) Gets field value from a data reader.
override IndexCompare(…) Compares the field values for two rows for an ascending index sort
override ValueFromJson(…) Deserializes this fields value from JSON (2 methods)
override ValueToJson(…) Serializes this fields value to JSON (2 methods)

Remarks

Initializes a new instance of the JsonField class.

See Also