Skip to content

When initializing WriteStackFrame with re-entry during serialization, consider doing a type comparison #32358

@ahsonkhan

Description

@ahsonkhan

The intent of this TODO isn't super clear. @steveharter can you help fill in the details or what action is required?

public JsonConverter InitializeReEntry(Type type, JsonSerializerOptions options, string? propertyName = null)
{
JsonClassInfo newClassInfo = options.GetOrAddClass(type);
// todo: check if type==newtype and skip below?
// Set for exception handling calculation of JsonPath.
JsonPropertyNameAsString = propertyName;

cc @steveharter

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions