ExpandoJsonPathConverter
Class ExpandoJsonPathConverter
Allows to pass JsonPath string that are applied for particular property names - this will work one on the first level of the
Inherited Members
Namespace: ETLBox.Json
Assembly: ETLBox.Json.dll
Syntax
Remarks
Constructors
ExpandoJsonPathConverter(IEnumerable<JsonProperty2JsonPath>)
Declaration
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<JsonProperty2JsonPath> | pathLookups |
Properties
CanWrite
Gets a value indicating whether this Newtonsoft.Json.JsonConverter can write JSON.
Declaration
Property Value
Type | Description |
---|---|
bool |
|
Overrides
PathLookups
Declaration
Property Value
Type | Description |
---|---|
IEnumerable<JsonProperty2JsonPath> |
Methods
CanConvert(Type)
Determines whether this instance can convert the specified object type.
Declaration
Parameters
Type | Name | Description |
---|---|---|
Type | objectType | Type of the object. |
Returns
Type | Description |
---|---|
bool |
|
Overrides
ReadJson(JsonReader, Type, object, JsonSerializer)
Reads the JSON representation of the object.
Declaration
Parameters
Type | Name | Description |
---|---|---|
JsonReader | reader | The Newtonsoft.Json.JsonReader to read from. |
Type | objectType | Type of the object. |
object | existingValue | The existing value of object being read. |
JsonSerializer | serializer | The calling serializer. |
Returns
Type | Description |
---|---|
object | The object value. |
Overrides
WriteJson(JsonWriter, object, JsonSerializer)
Writes the JSON representation of the object.
Declaration
Parameters
Type | Name | Description |
---|---|---|
JsonWriter | writer | The Newtonsoft.Json.JsonWriter to write to. |
object | value | The value. |
JsonSerializer | serializer | The calling serializer. |