Why does decoder return object instead of an array? #51
|
Hi, I am trying to decode this json file but when i check its type it shows as object instead of an array. |
Answered by
halaxa
May 12, 2021
Replies: 1 comment 2 replies
|
Look at README. It is a Generator object which lazily fetches JSON items one by one when you loop the object via |
2 replies
Answer selected by
hitheshsai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Look at README. It is a Generator object which lazily fetches JSON items one by one when you loop the object via
foreach.