Edit

Share via


JsonNode.DeepClone Method

Definition

Creates a new instance of the JsonNode class. All child nodes are recursively cloned.

C#
public System.Text.Json.Nodes.JsonNode DeepClone();

Returns

A new cloned instance of the current node.

Applies to