Show / Hide Table of Contents

Class JsonNull

An object which serializes to the JSON null literal, and which can safely be passed across languages where undefined and null are not different.

Inheritance
object
JsonNull
Implements
IResolvable
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class JsonNull : DeputyBase, IResolvable
Syntax (vb)
Public Class JsonNull Inherits DeputyBase Implements IResolvable
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK;

            var jsonNull = JsonNull.INSTANCE;

Synopsis

Properties

CreationStack

The creation stack of this resolvable which will be appended to errors thrown during resolution.

INSTANCE

The canonical instance of JsonNull.

Methods

Resolve(IResolveContext)

Produce the Token's value at resolution time.

ToJSON()

Obtains the JSON representation of this object (null).

ToString()

Obtains the string representation of this object ('null').

Properties

CreationStack

The creation stack of this resolvable which will be appended to errors thrown during resolution.

public virtual string[] CreationStack { get; }
Property Value

string[]

Remarks

This may return an array with a single informational element indicating how to get this property populated, if it was skipped for performance reasons.

INSTANCE

The canonical instance of JsonNull.

public static JsonNull INSTANCE { get; }
Property Value

JsonNull

Remarks

ExampleMetadata: fixture=_generated

Methods

Resolve(IResolveContext)

Produce the Token's value at resolution time.

public virtual object Resolve(IResolveContext ctx)
Parameters
ctx IResolveContext
Returns

object

Remarks

ExampleMetadata: fixture=_generated

ToJSON()

Obtains the JSON representation of this object (null).

public virtual object ToJSON()
Returns

object

Remarks

ExampleMetadata: fixture=_generated

ToString()

Obtains the string representation of this object ('null').

public override string ToString()
Returns

string

Remarks

ExampleMetadata: fixture=_generated

Implements

IResolvable
Back to top Generated by DocFX