0

I have some data retrieved from web in following format (in a stream):

{"parts":[
{"title":"Heading1","logo":"http:\/\/asd.com\/3.png","date":{"d":"24","m":"01","y":"2012"},
"blocks":[
    [
    {"time":"01:23","link":"http:\/\/google.com","title":"titleName1","info":"someinfo...","image":"http:\/\/url22.jpg","is_ended":true,"is_active":false,"description":"","description1":"","description2":""},
    {"time":"01:24","link":"","title":"titleName2","info":"","image":"http:\/\/asd.as\/6.jpg","is_ended":true,"is_active":false,"description":"","description1":"","description2":""},
    {"time":"05:25","link":"","title":"titleName2","info":"someinfo","image":"http:\/6.jpg","is_ended":false,"is_active":false,"description":"","description1":"","description2":""}
    ]
    ]
}
]
}

Now I need to get this to XML format or any decent format to work with. Is this data in any standard format?

Any hints appreciated.

1 Answer 1

4

That's called JSON.
You can use JSON.Net (available on NuGet) to parse it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.