Share via


ResourceJsonConverter Class

Definition

JsonConverter that provides custom serialization for resource-based objects.

public class ResourceJsonConverter : Newtonsoft.Json.JsonConverter
type ResourceJsonConverter = class
    inherit JsonConverter
Public Class ResourceJsonConverter
Inherits JsonConverter
Inheritance
Newtonsoft.Json.JsonConverter
ResourceJsonConverter

Constructors

ResourceJsonConverter()

Methods

CanConvert(Type)

Returns true if the object being serialized is assignable from the Resource type. False otherwise.

GetSerializerWithoutCurrentConverter(JsonSerializer)

Gets a JsonSerializer without current converter.

ReadJson(JsonReader, Type, Object, JsonSerializer)

Deserializes an object from a JSON string and flattens out Properties.

WriteJson(JsonWriter, Object, JsonSerializer)

Serializes an object into a JSON string adding Properties.

Applies to