-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how do I read json array which has no root entry #3
Comments
Hi, here is one way to do this :
|
Thanks it works now had one more I if I had array as a element which hold array my code is as follows is there any better way to handle this?
|
Hi, here is another way to do the same, using less retrieve() calls, so for huge array it should be faster:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
my json array response is as follows
[{"route":"Transaction","service_status":"Active","balance":82,"validity":"2022-08-11T18:30:00.000Z"},{"route":"Promotional","service_status":"Active","balance":100,"validity":"2022-12-30T18:30:00.000Z"}]
01 How do I access 2nd row and balance attribute
02 Is there is any way I can determine do I have how many rows I mean it might have one or more rows
I tried out this but didn't works
ln_json.retrieve("/1/route", ref la_data)
The text was updated successfully, but these errors were encountered: