4 Replies
You should ideally deserialize your JSON into a type that matches the structure of the JSON.
List<Spell>
is apparently not what your JSON represents.
Looks like it's a single Spell.
Does deserializing into Spell instead of List<Spell> work?the json structure seems to begin with...
so the outmost token is an object, not a list
{ }
object
[ ]
array should work, if you pass serialization options to change the casing