Skip to content

Can this library parse Json.Net C# json with PreserveReferences option #383

Description

@LucaGabi

Hi,

I have a C# Json.Net output json string with this settings:

JsonConvert.DefaultSettings = () => new JsonSerializerSettings
            {
                Formatting = Newtonsoft.Json.Formatting.Indented,
                ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore,
                PreserveReferencesHandling = PreserveReferencesHandling.Objects
            };

Can this library deserialize the json string in java ?
See also this SO question and please help.

https://stackoverflow.com/questions/54449023/how-can-json-be-deserialized-in-java-when-it-contains-ref-and-id-generated-by

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions