Skip to content

JsonBoolean.Clone Method

Definition

Namespace: Corvus.Text.Json.AsyncApi.Internal
Assembly: Corvus.Text.Json.dll

Clone()

Gets a JsonBoolean which can be safely stored beyond the lifetime of the original document.

public JsonBoolean Clone()

Returns

JsonBoolean

A JsonBoolean which can be safely stored beyond the lifetime of the original document.

Remarks

If this instance is already a clone (its backing document is not disposable), this method returns the same instance without additional allocation.

Applies To

Product Versions
.NET 9, 10

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue