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