JsonField<TValue> class
namespace: Serenity.Data assembly: Serenity.Net.Services
Field with a 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 a 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 field's value from JSON. (2 methods) |
| override ValueToJson(…) | Serializes this field's value to JSON. (2 methods) |
Remarks
Initializes a new instance of the JsonField class.
See Also
- class GenericClassField<TValue>
- Source: JsonField.cs