Plan.ToJson(JsonObject, SerializationMode) Method

Definition

Serializes this instance of Plan into a JsonNode.

public ADT.Runtime.Json.JsonNode ToJson(ADT.Runtime.Json.JsonObject container, ADT.Runtime.SerializationMode serializationMode);
abstract member ToJson : ADT.Runtime.Json.JsonObject * ADT.Runtime.SerializationMode -> ADT.Runtime.Json.JsonNode
override this.ToJson : ADT.Runtime.Json.JsonObject * ADT.Runtime.SerializationMode -> ADT.Runtime.Json.JsonNode
Public Function ToJson (container As JsonObject, serializationMode As SerializationMode) As JsonNode

Parameters

container
JsonObject

The JsonObject container to serialize this object into. If the caller passes in null, a new instance will be created and returned to the caller.

serializationMode
SerializationMode

Allows the caller to choose the depth of the serialization. See SerializationMode.

Returns

a serialized instance of Plan as a JsonNode.

Implements

Applies to