Skip to content

Serialization not caching references? This might cause a Stack Overflow! #243

@YoungXiang

Description

@YoungXiang

Hi, I have a class hierarchy like this:

public class Father
{
    public List<Child> children;
}

public class Child
{
    public Father father;
}

When I use MessagePack.Resolvers.ContractlessStandardResolver.Instance to Serialize class, I get a stack overflow in CollectionFormatter.cs line 160;

Does MessagePack handles nested class references ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions