28 references to JsonObject
Microsoft.Analyzers.Local (28)
ApiLifecycle\Json\JsonObject.cs (9)
22
/// Initializes a new instance of the <see cref="
JsonObject
"/> class.
55
/// <returns>The <see cref="
JsonObject
"/> that was added.</returns>
56
public
JsonObject
Add(string key) => Add(key, JsonValue.Null);
64
public
JsonObject
Add(string key, JsonValue value)
83
public
JsonObject
Clear()
99
public
JsonObject
Rename(string oldKey, string newKey)
150
private readonly
JsonObject
_object;
153
public JsonObjectDebugView(
JsonObject
jsonObject)
200
return (
JsonObject
)_value!;
ApiLifecycle\Json\JsonObjectExtensions.cs (1)
11
public static T[] GetValueArray<T>(this
JsonObject
value, string name)
ApiLifecycle\Json\JsonReader.cs (3)
258
private
JsonObject
ReadObject()
263
private
JsonObject
ReadObject(
JsonObject
jsonObject)
ApiLifecycle\Json\JsonValue.cs (10)
85
public JsonValue(
JsonObject
? value)
260
public
JsonObject
? AsJsonObject => IsJsonObject ? (
JsonObject
?)_reference : null;
301
return ((
JsonObject
)_reference!)[key];
313
((
JsonObject
)_reference!)[key] = value;
387
public static implicit operator JsonValue(
JsonObject
value)
499
public static explicit operator
JsonObject
?(JsonValue jsonValue)
501
return jsonValue.IsJsonObject || jsonValue.IsNull ? jsonValue._reference as
JsonObject
: null;
606
public
JsonObject
? ObjectView => _jsonValue.IsJsonObject
607
? (
JsonObject
?)_jsonValue._reference
ApiLifecycle\Model\Assembly.cs (1)
16
public Assembly(
JsonObject
value)
ApiLifecycle\Model\Field.cs (1)
14
public Field(
JsonObject
value)
ApiLifecycle\Model\Method.cs (1)
14
public Method(
JsonObject
value)
ApiLifecycle\Model\Prop.cs (1)
14
public Prop(
JsonObject
value)
ApiLifecycle\Model\TypeDef.cs (1)
19
public TypeDef(
JsonObject
value)