UnionConverter Class

Summary

Union Json Converter
Assembly
Rocket.Surgery.Extensions.Unions.dll
Namespace
Rocket.Surgery.Unions
Base Types
  • JsonConverter
graph BT Type-->Base0["JsonConverter"] Type["UnionConverter"] class Type type-node

Syntax

public class UnionConverter : JsonConverter

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
UnionConverter()

Properties

Name Value Summary
CanRead bool
Gets a value indicating whether this Newtonsoft.Json.JsonConverter can read JSON.
CanWrite bool
Gets a value indicating whether this Newtonsoft.Json.JsonConverter can write JSON.

Methods

Name Value Summary
CanConvert(Type) bool
Determines whether this instance can convert the specified object type.
ReadJson(JsonReader, Type, object, JsonSerializer) object
Reads the JSON representation of the object.
WriteJson(JsonWriter, object, JsonSerializer) void
Writes the JSON representation of the object.

Extension Methods

See Also

  • Newtonsoft.Json.JsonConverter