DataSchema: Examples
The DataSchema Utility applies a given schema against data of arbitrary formats, normalizing input such as JSON, XML, or delimited text into a JavaScript object with known properties. The value of the DataSchema Utility is in its ability to translate data from a variety of sources into a consistent format for consumption by components in a predictable manner.
- DataSchema.Array: Schema parsing a JavaScript array.
- DataSchema.JSON: Schema parsing JSON data.
- DataSchema.XML for HTML Tables: Schema parsing data held in TABLE elements.
- DataSchema.XML for XML Data: Schema parsing XML data.
- DataSchema.Text: Schema parsing delimited plain-text data.
- Enforcing DataTypes: Parsing data into specified types as the schema is being applied.
Examples That Make Use of DataSchema
- DataSource with Caching (included with examples for the DataSource)
- DataSource with Offline Cache (included with examples for the DataSource)
- DataSource.Function (included with examples for the DataSource)
- DataSource.Get (included with examples for the DataSource)
- DataSource.IO (included with examples for the DataSource)
- DataSource.Local (included with examples for the DataSource)