Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LucaGabi opened this issue Jan 31, 2019 · 0 comments
Open

Comments

@LucaGabi
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant