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
I am trying to get the size of an array.
with json
{"main":{"type":"1","paper":"A4"},"s1st":{"column":[1000,5,5],"text2":"text2str"}}
t= json.decode( string, pos, null, arrlen )
I could get "1000" by t.s1st.column[1] and I expected to get 3 by t.s1st.column[0].
but error raisesd.
How can I know the size of "column" array ?
Thank you in advance.
I am trying to get the size of an array.
with json
{"main":{"type":"1","paper":"A4"},"s1st":{"column":[1000,5,5],"text2":"text2str"}}
t= json.decode( string, pos, null, arrlen )
I could get "1000" by t.s1st.column[1] and I expected to get 3 by t.s1st.column[0].
but error raisesd.
How can I know the size of "column" array ?
Thank you in advance.
[email protected]
The text was updated successfully, but these errors were encountered: