Show / Hide Table of Contents

Class ValueJsonConverter

A Json converter for type Value

Inheritance
object
JsonConverter
JsonConverter<Value>
ValueJsonConverter
Inherited Members
JsonConverter<Value>.CanConvert(Type)
JsonConverter<Value>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<Value>.WriteAsPropertyName(Utf8JsonWriter, Value, JsonSerializerOptions)
JsonConverter<Value>.HandleNull
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Esc.Sdk.Model
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class ValueJsonConverter : JsonConverter<Value>

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Deserializes json to Value

Declaration
public override Value Read(ref Utf8JsonReader utf8JsonReader, Type typeToConvert, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
Utf8JsonReader utf8JsonReader
Type typeToConvert
JsonSerializerOptions jsonSerializerOptions
Returns
Type Description
Value
Overrides
JsonConverter<Value>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Exceptions
Type Condition
JsonException
View Source

Write(Utf8JsonWriter, Value, JsonSerializerOptions)

Serializes a Value

Declaration
public override void Write(Utf8JsonWriter writer, Value value, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
Utf8JsonWriter writer
Value value
JsonSerializerOptions jsonSerializerOptions
Overrides
JsonConverter<Value>.Write(Utf8JsonWriter, Value, JsonSerializerOptions)
Exceptions
Type Condition
NotImplementedException
View Source

WriteProperties(ref Utf8JsonWriter, Value, JsonSerializerOptions)

Serializes the properties of Value

Declaration
public void WriteProperties(ref Utf8JsonWriter writer, Value value, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
Utf8JsonWriter writer
Value value
JsonSerializerOptions jsonSerializerOptions
Exceptions
Type Condition
NotImplementedException

Version 0.13.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.