Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
Get Length of array JSON.Net
Ankit Shukla
7y
334
1
Reply
Hello,
I am using code:
JArray items2 = (JArray)joResponse["records"][i]["form_values"]["a409"];
int length2 = items2.Count;
It works fine when there is data. but if there is now date (0), it shows error.
Thanks in advance.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
How to find the Doctype is in xml file or not.
C#: When one should go for factory method pattern