jiter
| Use Case | Command | Description |
|---|---|---|
| Parse JSON string | from_json('{"key":"val"}') | Parse JSON, supporting float mode, inf/nan, key dedup |
| Clear parser cache | cache_clear() | Reset internal JSON parsing cache |
| Get cache statistics | cache_usage() | Retrieve cache hit/miss info |
| Create lossless float | LosslessFloat(b'1.23') | Hold raw bytes of a JSON float for exact representation |
jiter
builtins.object → LosslessFloatRepresents a float from JSON, by holding the underlying bytes representing a float from JSON.
__bytes__(self, /)__float__(self, /) — float(self)__repr__(self, /) — Return repr(self).__str__(self, /) — Return str(self).as_decimal(self, /)__new__(*args, **kwargs) from builtins.type — Create and return a new object. See help(type) for accurate signature.
cache_clear()cache_usage()from_json(json_data, /, *, allow_inf_nan=True, cache_mode=Ellipsis, partial_mode=Ellipsis, catch_duplicate_keys=False, float_mode=Ellipsis)__all__ = ['from_json', 'cache_clear', 'cache_usage', '__version__', '...']
0.16.0
/home/chedong/.local/lib/python3.10/site-packages/jiter/__init__.py
Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 13:09 @216.73.216.114
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format