JsonConvert.DefaultSettings = () => new JsonSerializerSettings
{
Formatting = Newtonsoft.Json.Formatting.Indented,
ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore,
PreserveReferencesHandling = PreserveReferencesHandling.Objects
};
Thanks.
Hi,
I have a C# Json.Net output json string with this settings:
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.