Class PropertyQueryFilterConverter

Converts property values from json into appropriate objects, depending on their FilterDataType.

Inheritance
object
PropertyQueryFilterConverter
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingFilters
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public class PropertyQueryFilterConverter : JsonConverter

Properties

CanWrite

Declaration
RequestResponse

public override bool CanWrite { get; }
Property Value
TypeDescription
bool

Methods

CanConvert(Type)

Declaration
RequestResponse

public override bool CanConvert(Type objectType)
Parameters
TypeNameDescription
TypeobjectType
Returns
TypeDescription
bool

ReadJson(JsonReader, Type, object, JsonSerializer)

Declaration
RequestResponse

public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
TypeNameDescription
JsonReaderreader
TypeobjectType
objectexistingValue
JsonSerializerserializer
Returns
TypeDescription
object

WriteJson(JsonWriter, object, JsonSerializer)

Declaration
RequestResponse

public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
TypeNameDescription
JsonWriterwriter
objectvalue
JsonSerializerserializer

Do you have some feedback for us?

If you have suggestions for improving this article,