This repository contains the source code for the official website of TRON (Token Reduced Object Notation).
See the website at https://tron-format.github.io/.
Check out the Playground in the website to try out TRON with your own data!
TRON is a data serialization format that extends JSON. It is designed to be more compact by allowing the definition of "classes" (schemas) for objects, reducing the repetition of property names. TRON is a superset of JSON, meaning any valid JSON is also valid TRON.
For a full technical explanation, please refer to the Specification.
The website provides:
- Specification: The complete documentation of the TRON format.
- Playground: An interactive editor to experiment with TRON, convert between TRON and JSON, and compare token counts.
- SDKs: Information on supporting libraries for different programming languages.
To run this project locally:
-
Install Dependencies
pnpm install
-
Start Development Server
pnpm dev
-
Build for Production
pnpm build
-
Preview Production Build
pnpm preview
MIT License © 2025-PRESENT Tim Huang