AdfUnknownNode Class

Represents a node whose type is not part of the supported schema. Atlassian regularly adds node types, and documents returned by the APIs contain nodes such as unsupportedBlock, so parsing never fails on an unknown type. The original JSON is preserved so the node round-trips unchanged.

public sealed class AdfUnknownNode : AdfNode
Inheritance
AdfNode AdfUnknownNode

Constructors

NameDescription
AdfUnknownNode()

AdfUnknownNode()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public AdfUnknownNode()

No documentation is available.

Properties

NameDescription
KindGets the type of the node.
RawJsonGets the original JSON of the node.
TypeNameGets the value of the type property of the node.

Gets the type of the node.

public override AdfNodeKind Kind { get; }

Property value

AdfNodeKind

Gets the original JSON of the node.

public required JsonElement RawJson { get; init; }

Property value

JsonElement

Gets the value of the type property of the node.

public required string TypeName { get; init; }

Property value

string