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.