You can use the DataContractJsonSerializer class anywhere you want, it is just a .net class and is not limited to WCF. More info on how to use it here and here.
More Related Contents:
- How to localize when JSON-serializing?
- How to deserialize a JObject to .NET object
- replace WCF built-in JavascriptSerializer with Newtonsoft Json.Net json serializer
- How to remove k__BackingField from json when Deserialize
- JSON serialization of array with polymorphic objects
- What’s the best way to jSON serialize a .NET DataTable in WCF?
- Deserialize JSON into C# dynamic object?
- Getting ServiceStack to retain type information
- Detect if deserialized object is missing a field with the JsonConvert class in Json.NET
- Can Json.NET serialize / deserialize to / from a stream?
- Using Json.NET converters to deserialize properties
- What are the deficiencies of the built-in BinaryFormatter based .Net serialization?
- What is the correct way to make a custom .NET Exception serializable?
- How to serialize/deserialize a custom collection with additional properties using Json.Net
- Custom Deserialization using Json.NET
- Deserializing empty xml attribute value into nullable int property using XmlSerializer
- Ensuring json keys are lowercase in .NET
- C# automatic property deserialization of JSON
- Generate C# classes from JSON Schema [closed]
- DataContractSerializer vs XmlSerializer: Pros and Cons of each serializer
- Ignoring a field during .NET JSON serialization; similar to [XmlIgnore]?
- Ignoring null fields in Json.net
- “Type not expected”, using DataContractSerializer – but it’s just a simple class, no funny stuff?
- Any way to make DataContractJsonSerializer serialize Dictionaries properly?
- JSON.NET JsonConvert vs .NET JavaScriptSerializer [closed]
- Get Raw json string in Newtonsoft.Json Library
- Remove empty string properties from json serialized object
- Using .Net what limitations (if any) are there in using the XmlSerializer?
- How to serialize a large graph of .NET objects into a SQL Server BLOB without creating a large buffer?
- Why microsoft made JavaScriptSerializer obsolete prior to .net 3.5 SP1 and again active after that?