JsonBoolean Class
Represents a boolean literal in the JSON abstract syntax tree.
public sealed class JsonBoolean : JsonSyntax
- Namespace
- Spectre
.Console .Json .Syntax - Base Types
Constructors
-
JsonBoolean
(string) -
Initializes a new instance of the
JsonBoolean
class.
Properties
- string Lexeme
- Gets the lexeme.
Extension Methods
-
T And
<JsonBoolean> (Action <JsonBoolean> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.