ResourceJsonConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.JsonConverterResourceJsonConverter
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET