TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
tarun janveja
NA
242
38.4k
json array with json object
Aug 15 2017 1:00 AM
i have below json code i am getting error .input string not in correct format .i require below format .
{"msisdn": ["1234","5432"]} .please rectify my code where i am doing wrong
string data;
List<string> s = new List<string>();
s.Add("1234");
s.Add("5432");
JArray msisdn = new JArray();
msisdn.Add(s);
JObject o = new JObject();
o["msisdn"] = msisdn;
data = o["msisdn"];
Response.Write(data); //error --input string is not in correct format
Reply
Answers (
6
)
C# datagridview1 and Access Database font problem
how to generate otp in windows form application in c sharp