Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
Get Length of array JSON.Net
Ankit Shukla
Apr 5 2017 7:36 AM
320
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.
Upload Source Code
Select only zip and rar file.
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