About JSON data #2475
Unanswered
jclinkforever
asked this question in
Q&A
About JSON data
#2475
Replies: 1 comment
-
Use the A basic demo is available here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I got a question while configuring Ajax to read JSON data.
In the demo, JSON data is expected as the following format:
[{"id":1, "text": "Node1"}, {"id":2, "text": "Node2"}, ...]
But in some real case, the returned JSON data(I can't change the return format) is like:
{"lists":[{"id":1, "text": "Node1"}, {"id":2, "text": "Node2"}, ...]}
So what should I do to read this type of JSON?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions