Skip to content

JsonBoolean

Definition

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

Generated from JSON Schema.

public readonly struct JsonBoolean : IJsonElement<JsonBoolean>, IJsonElement, IFormattable, ISpanFormattable, IUtf8SpanFormattable

Remarks

Whether the validation passed at this evaluation point.

Implements

IJsonElement<JsonBoolean>, IJsonElement, IFormattable, ISpanFormattable, IUtf8SpanFormattable

Properties

Property Type Description
DefaultInstance static JsonBoolean Gets the default instance.
ValueKind JsonValueKind

Methods

Method Description
Clone()
Create(JsonBoolean.Source, int) static
CreateBuilder static
Equals
EvaluateSchema(IJsonSchemaResultsCollector?)
Freeze()
From(T) static
GetHashCode()
ParseValue static
ToString
TryFormat
TryGetValue(bool) Tries to get the value as a boolean
TryParseValue(Utf8JsonReader, Nullable<JsonBoolean>) static
WriteTo(Utf8JsonWriter)

Operators

Operator Description
Equality
Implicit
Inequality

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