Serializes a .NET object reference into a JSON string.
The serializer supports: <
- > <
- > All simple types <
- > POCO objects and hierarchical POCO objects <
- > Arrays <
- > IList based collections <
- > DataSet <
- > DataTable <
- > DataRow <
The serializer works off any .NET type - types don't have to be explicitly serializable.
DataSet/DataTable/DataRow parse into a special format that is essentially array based of just the data. These objects can be serialized but cannot be passed back in via deserialization.
public sealed string Serialize(object value)
Parameters
value
The strongly typed value to parse
See also:
Class JSONSerializer© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic