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
Devesh Omar
257
7.4k
8.4m
There is an error in XML document (1, 1).
Feb 14 2014 2:59 AM
Hi I am getting following error during deseralization a JSON data.
"There is an error in XML document (1, 1)."
I am unable to get why this error is coming .
If someone has an idea then please let me know.
Code :
XmlDocument xmlDataDocument = new XmlDocument();
T returnedXmlClass = default(T);
using (TextReader reader = new StringReader(stringToDeserialize))
{
returnedXmlClass = (T)new XmlSerializer(typeof(T)).Deserialize(reader);
}
I am passing Type as a class. and json here is :
JSON: {"a":{"a":0.120},"b":{"b":"c\/ Q958\/ Q958\u0\u01\u02\u03 working"}}
Reply
Answers (
0
)
programming part-2 ?
how to kill a project after one year of installation