I am building a simple twitter application. I Originally wanted to use XML but after i did a little search and found JSON is much better and faster so i decided to use it.
However after searching for hours i couldn’t find a single hello world tutorial that uses .net libraries for JSON. All the tutorials point out to using third party libraries for JSON. Since i cannot use anything out of the .net would somebody give me a few tidbits on how to get started.
Specifically using System.Runtime.Serialization.Json on .net4.0
Using System.Runtime.Serialization.Json
Can be serialized to a string using
That string can be deserialized back into an object
Like others have said though, the third party libraries tend to be better (I’ve used ServiceStack.Text and Json.Net)