Typed JSON
Introduction
Typed JSON are C# classes that are serializeable to JSON. This makes it easy to work with JSON documents in an object-oriented manner.
The view-models are Typed JSON in Starcounter web apps.
JSON-by-example defines it, the Code-Behind extends it, and it's bound to database data.
Content
This section describes how to use Typed JSON.
JSON-by-example and Code-Behind describes how to define the Typed JSON and extend it to allow for interactivity.
JSON Data Bindings explains how to initially add database data to the Typed JSON objects and then bind Typed JSON objects to database classes.
Callback Methods describes the use of callback methods for certain actions on the Typed JSON objects.
Responding With JSON and Accepting JSON in Requests describes how to send and receive Typed JSON objects using HTTP.
Primitive Arrays and Single Value Types and Typed JSON Internals covers topics that, in most cases, are not practically applicable but can still be useful in some niche cases.
Last updated