Expand description
The value the API calls “string, object or array” content.
Content is what carries free-form JSON in both directions: a question’s
instructions and criteria on the way out, a score legend’s labels on the way
back. The API accepts exactly three JSON shapes there - a string, an object
or an array - so a number, a boolean or null is rejected where the value
is built rather than where the server answers.
A borrowed string is held as a borrow. Anything else is held as the JSON text it was encoded from, so a shape this version does not know still round-trips unchanged.
Structs§
- Content
- Text, or a JSON object or array.
Enums§
- Content
Error - A value could not be used as
Content.