8 references to AsJsonObject
Microsoft.Analyzers.Local (2)
ApiLifecycle\Json\JsonObjectExtensions.cs (1)
23types[i] = (T)Activator.CreateInstance(typeof(T), arrayOfTypes[i].AsJsonObject);
ApiLifecycle\ModelLoader.cs (1)
67assembly = new Assembly(value.AsJsonObject!);
Microsoft.Analyzers.Local.Tests (6)
Json\JsonScannerTest.cs (1)
54Assert.Equal(0, obj.AsJsonObject?.Count);
Json\JsonValueTest.cs (5)
43Assert.IsType<JsonObject>(new JsonValue(new JsonObject()).AsJsonObject); 46Assert.Null(new JsonValue(default(JsonObject)).AsJsonObject); 141Assert.Null(new JsonValue(false).AsJsonObject); 142Assert.IsType<JsonObject>(new JsonValue(new JsonObject()).AsJsonObject); 143Assert.Null(new JsonValue(default(JsonObject)).AsJsonObject);