KGBicheno/CroissantJSON-LD_to_CroissantTOML
0
๐ฅ Croissant JSON-LD โ TOML Converter
A bi-directional converter for transforming Croissant metadata between JSON-LD and human-readable TOML formats.
Features
- โ Bi-directional conversion: JSON-LD โ TOML
- โ File upload support: Process up to 5 files at once
- โ Copy-paste interface: Instant conversion for text content
- โ Auto-format detection: Automatically detects input format
- โ Batch processing: ZIP download for multiple files
- โ Error handling: Robust validation and error reporting
- โ Examples included: Sample content for both formats
Usage
File Upload
- Select up to 5 Croissant files (.json, .jsonld, .toml)
- Click "Convert Files" to process all uploads
- Download individual files or ZIP package
- Original filenames are preserved with new extensions
Copy-Paste
- Paste your Croissant content in the input area
- Choose conversion direction or use auto-detect
- Copy the converted content from the output
Supported Formats
- JSON-LD: Croissant metadata with @context and schema.org vocabulary
- TOML: Human-readable format with comments and logical structure
About Croissant
Croissant is a metadata format for ML datasets developed by MLCommons. It provides a standardized way to describe dataset structure, fields, and distributions.
"Croissant" is a trademark of MLCommons. This converter tool is not affiliated with or endorsed by MLCommons.
Technical Details
- Uses proper TOML Array of Tables syntax (
[[record_sets]]) - Preserves complex nested objects during conversion
- Handles schema.org and Croissant namespaces correctly
- Maintains data integrity through round-trip conversions
Links
Built with โค๏ธ using Gradio
