1 write to ReferenceResolver
System.Text.Json (1)
System\Text\Json\Serialization\ReadStack.cs (1)
101ReferenceResolver = options.ReferenceHandler!.CreateResolver(writing: false);
11 references to ReferenceResolver
System.Text.Json (11)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
187state.ReferenceResolver.AddReference(state.ReferenceId, state.Current.ReturnValue);
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
210state.ReferenceResolver.AddReference(state.ReferenceId, state.Current.ReturnValue);
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
129state.ReferenceResolver.AddReference(state.ReferenceId, obj);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
211state.ReferenceResolver.AddReference(state.ReferenceId, obj);
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (7)
88if (state.ReferenceResolver is null) 109if (state.ReferenceResolver is null) 382state.ReferenceResolver.AddReference(property.Value.GetString()!, boxedElement); 404referenceValue = state.ReferenceResolver.ResolveReference(property.Value.GetString()!); 441state.ReferenceResolver.AddReference(referenceId, jsonNode); 459referenceValue = state.ReferenceResolver.ResolveReference(referenceId); 522object value = state.ReferenceResolver.ResolveReference(referenceId);