Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Json String Download includes "<!-- html is corrupted -->"
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
satish hirpara
8y
356
1
Reply
Hello All,
I am trying to download Json result from 1 url and while downloading that Json String using WebClient, I am getting the downloaded string and along with that i am also getting
"<!-- html is corrupted -->"
at the end of the Json result so that causing error while serialization using Newtonsoft and that
"<!-- html is corrupted -->"
is not available in Json result then also it appears when i download the result.
Please find below code that i have written.
var jsonOrders = new WebClient().DownloadString(urlJsonData).Trim();
Please let me know if anyone knows the solution.
Thanks in advance
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Sessions
table tag