10 references to IsJsonArray
Microsoft.Analyzers.Local (7)
ApiLifecycle\Json\JsonObject.cs (1)
202
else if (_value.
IsJsonArray
)
ApiLifecycle\Json\JsonValue.cs (6)
266
public JsonArray? AsJsonArray =>
IsJsonArray
? (JsonArray?)_reference : null;
333
if (
IsJsonArray
)
345
if (
IsJsonArray
)
510
return jsonValue.
IsJsonArray
|| jsonValue.IsNull ? jsonValue._reference as JsonArray : null;
611
public JsonArray? ArrayView => _jsonValue.
IsJsonArray
618
public object? Value => _jsonValue.IsJsonObject || _jsonValue.
IsJsonArray
Microsoft.Analyzers.Local.Tests (3)
Json\JsonValueTest.cs (3)
49
Assert.True(new JsonValue(new JsonArray()).
IsJsonArray
);
52
Assert.False(new JsonValue(default(JsonArray)).
IsJsonArray
);
347
Assert.True(JsonValue.Parse("[]").
IsJsonArray
);