Support
Table of Contents
Classes
- JsonText
- Decode JSON text as json_decode($json, false, 512, JSON_THROW_ON_ERROR) does, keeping every
string and member name as written (docs/spec/input-text.md). An unpaired surrogate escape
becomes the three-byte encoding of that surrogate and a byte that is not UTF-8 is kept, so both
remain text that is not valid UTF-8 and the input text check rejects them. Nothing is replaced.
- JsonValue
- Preserve JSON object and array types when accepting PHP values.
- NumberValue
- Parse decimal and radix strings using binary64 number conversion.
- Text
- Input text checks (docs/spec/input-text.md). Every string and object member name of a
specification, a composition file and caller data is valid UTF-8, the PHP form of a sequence
of Unicode scalar values. Invalid text is rejected before any other check of an operation; it
is never replaced and never passed on.