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
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
Exception in thread "main" java.lang.IllegalArgumentException: Can not deserialize instance of org.json.JSONArray out of FIELD_NAME token
throws java.lang.IllegalArgumentException: Can not deserialize instance of org.json.JSONArray out of
The text was updated successfully, but these errors were encountered:
Ah. The problem here is the input: value for "jsa" is String, not anything that would produce JSON Array when serialized (like Collection or array); it becomes JSON String with quotes.
Exception message is not good, however, so I will improve that a bit.
cowtowncoder
changed the title
Can not deserialize instance of org.json.JSONArray out of FIELD_NAME token
Misleading exception when trying to deserialize JSON String as org.json.JSONArray value
Jan 8, 2019
execute code
The text was updated successfully, but these errors were encountered: