Elfo Bianco.3786:

Hi, I’m trying to get Specializations, Traits and Skills from API, but Traits and Skills return a strange issue.
Both Traits and Skills API have the two following objects: “facts” and “traited_facts”. In those objects there is a property called “value” that can be an int or a bool.
My App in C# returns an error because I have an object that considers “value” as int while it is a bool, deserializing. Maybe you don’t know how to do it in C#, but can you tell me, even in Java, how can you deserialize json with a multi-type property?