Why does decoder return object instead of an array? #51
Answered
by
halaxa
hitheshsai
asked this question in
Q&A
-
Hi, I am trying to decode this json file but when i check its type it shows as object instead of an array. |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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
.