You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see here that synonyms_chinese is "synonyms_chinese":"[]", not
"synonyms_chinese":[
],
Since i am using Newtonsoft.Json for C# i am deserializing the object, but beacuse of this json value error is, i am getting this error, which is not fixable unless the json api is fixed, or i just ignore using that value at all. or use dynamic values.
Error: Error converting value "[]" to type 'System.Collections.Generic.List`1[System.String]'. Path 'docs[4].synonyms_chinese', line 1, position 3182.
EDIT:
Got same issue with this picture: (Spoilers sorry)
The root cause lies in an admin page (which is not included in this repo) which manage anime titles.
The DB records has been cleaned up and should be OK now.
I used this image, (Yes i know this is not how its not supposed to be used, but i tested it and i got json errors)
And the json response is: Json Response
As you can see here that synonyms_chinese is
"synonyms_chinese":"[]",
notSince i am using Newtonsoft.Json for C# i am deserializing the object, but beacuse of this json value error is, i am getting this error, which is not fixable unless the json api is fixed, or i just ignore using that value at all. or use dynamic values.
Error:
Error converting value "[]" to type 'System.Collections.Generic.List`1[System.String]'. Path 'docs[4].synonyms_chinese', line 1, position 3182.
EDIT:
Got same issue with this picture: (Spoilers sorry)
Gist and location
You can find my project at: ThomasAunvik/AnimeListBot within class TraceMoe.cs
The text was updated successfully, but these errors were encountered: