Questions tagged as 'json.net'

1
answer

WebAPI problem when trying to deserialize object with property of the same type (circular reference)

I'm doing some tests with WebAPI , to see how it behaves with circular reference, and I found a curious case. Model [DataContract(IsReference = true)] public class Pessoa { [DataMember(EmitDefaultValue = false, Order = 1)] p...
asked by 26.04.2016 / 21:55
1
answer

C # - Decode array JSON

I need to get the id of this code JSON using C# :    [{"nome":"Gabriel Ferreira","cidade":"São Paulo","uf":"SP","id":"4274892"}] Someone can advise me how I can do this in the best way, since I already tried wit...
asked by 06.05.2018 / 05:22
0
answers

I can not use JsonConverter on Json.Net with Unity

So I'm developing a visual programming system in FSM , and for serialization, I used Json.Net , so far, okay, it worked correctly, however, I needed to serialize UnityObjects and things got complicated, I wanted serialize only...
asked by 08.05.2018 / 04:00