1 instantiation of ReflectionJsonClassWriter
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (1)
20
private readonly ReflectionJsonClassWriter _reflectionClassWriter = new
ReflectionJsonClassWriter
();
10 references to ReflectionJsonClassWriter
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (10)
20
private readonly
ReflectionJsonClassWriter
_reflectionClassWriter = new ReflectionJsonClassWriter();
52
ReflectionJsonClassWriter
.ReflectionWriteStartElement(jsonWriter, itemName);
53
ReflectionJsonClassWriter
.ReflectionWriteValue(jsonWriter, context, itemType, array.GetValue(i), false, primitiveContract);
54
ReflectionJsonClassWriter
.ReflectionWriteEndElement(jsonWriter);
80
ReflectionJsonClassWriter
.ReflectionWriteStartElement(jsonWriter, key.ToString()!);
81
ReflectionJsonClassWriter
.ReflectionWriteValue(jsonWriter, context, dictionaryValueType ?? value.GetType(), value, false, primitiveContractForParamType: null);
82
ReflectionJsonClassWriter
.ReflectionWriteEndElement(jsonWriter);
116
ReflectionJsonClassWriter
.ReflectionWriteStartElement(jsonWriter, itemName);
123
ReflectionJsonClassWriter
.ReflectionWriteValue(jsonWriter, context, elementType, current, false, primitiveContractForParamType: null);
126
ReflectionJsonClassWriter
.ReflectionWriteEndElement(jsonWriter);