JsonString Class
Represents a string literal in the JSON abstract syntax tree.
public sealed class JsonString : JsonSyntax
- Namespace
- Spectre
.Console .Json .Syntax - Base Types
Constructors
-
JsonString
(string) -
Initializes a new instance of the
JsonString
class.
Properties
- string Lexeme
- Gets the lexeme.
Extension Methods
-
T And
<JsonString> (Action <JsonString> ) - 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.