THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Write strict JSON directly into a size-limited buffer.
The byte budget also applies while escaping individual strings.
| Method | __init__ |
Allocate an empty buffer with a fixed byte ceiling. |
| Method | append |
Append bytes only when they fit the remaining budget. |
| Method | members |
Encode the members and delimiters of a JSON object or array. |
| Method | string |
Write an escaped JSON string in bounded chunks. |
| Method | visit |
Encode one JSON value within the depth and element limits. |
| Instance Variable | count |
Number of JSON values visited during serialization. |
| Instance Variable | limit |
Maximum number of bytes the buffer may hold. |
| Instance Variable | output |
UTF-8 bytes accumulated during serialization. |