Skip to main content

Module text

Module text 

Source
Expand description

Input text of the generator operations over JSON text (docs/spec/input-text.md).

A Rust String is always a sequence of Unicode scalar values, so the value operations need no check. A caller that decodes JSON text with JsonText passes its parts here, in the order each operation checks them, before decoding them into values.

Structs§

JsonTextError
JSON text that is not one JSON document.

Enums§

JsonString
A string or member name of a JSON document: valid text, or the UTF-16 code units of text that holds an unpaired surrogate.
JsonText
A JSON document read without replacing any text.

Functions§

check_bind
The checks of bind_form, bind_buttons and Form::new: the template, the data, then the binding options.
check_compile_form
The checks of compile_form: the specification, the files, then the basepath and keyPrefix options.
check_display
The checks of a list or detail model: the specification, the files, the rows or record named input, then the display options.
check_form_method
The checks of a Form method named as in the JavaScript instance API, over its JSON arguments in order.