Skip to content

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

Closed

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

Activity

  1. added this to the 5.0 milestone on Feb 15, 2020
  2. added
    untriaged
    on Feb 15, 2020
  3. modified the milestones: 5.0, Future on Feb 15, 2020
  4. removed
    untriaged
    on Feb 15, 2020
  5. modified the milestones: Future, 5.0 on Feb 21, 2020
  6. ghost locked as resolved and limited conversation to collaborators on Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions