Quinze SDK, une API symétrique
Même interface de conversion sur 15 ports. Chaque chaîne de format passe par TOON comme pivot canonique. Choisissez votre langage ; le contrat est identique.
Cloner le dépôt
git clone https://gitlab.com/toontoolbox/toonconverter.git Tier 1 — SDK complets (6)
TypeScript
Stablejavascript/
Zéro dépendance. Sérialisation directe via normalizeValue(). Les 16 convertisseurs P5. Runner Jest.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/javascript
npm install && npm test Python
Stablepython/
Zéro dépendance. Sérialisation directe avec support dataclass. Les 16 convertisseurs P5. pytest.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/python
pip install -e . && pytest Go
Stablego/
Sérialisation par réflexion avec struct tags. Les 16 convertisseurs P5. stdlib encoding/xml.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/go
go mod download && go test ./... Rust
Stablerust/
Intégration Serde (coût zéro). Les 16 convertisseurs P5. Suites de tests intégrées.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/rust
cargo test Java
Stablejava/
Gson ou réflexion directe. Les 16 convertisseurs P5. JUnit 5.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/java
mvn test C# / .NET
Stablecsharp/
System.Text.Json ou réflexion directe. Les 16 convertisseurs P5. Suite xUnit. 46,7 % plus rapide avec la sérialisation directe.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/csharp
dotnet test Tier 2 — Convertisseurs principaux + non-binaires (9)
PHP
Stablephp/
Zéro dépendance. Convertisseurs P5 non-binaires (XML, CSV, EDI, YAML, etc.). PHP 8.2+ natif.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/php
php -f test_runner.php R
Stabler/
Zéro dépendance (jsonlite optionnel). Convertisseurs P5 non-binaires. R natif.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/r
Rscript test_runner.R Perl
Stableperl/
Zéro dépendance. Convertisseurs P5 non-binaires. Perl 5.34+ natif.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/perl
perl -I. t/all.t VB.NET
Stablevbnet/
.NET 8, xUnit. Convertisseurs P5 non-binaires. Partage la chaîne d'outils avec le SDK C#.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/vbnet
dotnet test
Swift
Stableswift/
Swift Package Manager. Convertisseurs P5 non-binaires. XCTest.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/swift
swift test C++
Stablecpp/
Header-only C++17 (toon.hpp). Convertisseurs P5 non-binaires. CMake.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/cpp
mkdir build && cd build && cmake .. && make && ctest
C
Stablec/
C99 (toon.h + toon.c). Convertisseurs P5 non-binaires. Makefile.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/c
make && make test Fortran
Stablefortran/
Fortran 2008. Convertisseurs P5 non-binaires. CMake + gfortran.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/fortran
mkdir build && cd build && cmake .. && make && ctest Delphi / Free Pascal
Stabledelphi/
Compatible Free Pascal. Convertisseurs P5 non-binaires. Runner de tests natif.
git clone https://gitlab.com/toontoolbox/toonconverter.git
cd toonconverter/delphi
fpc -Mobjfpc -S2 tests/all_tests.pas Exemples d'interface
React
react-example/
Panneau Objet 7 formats + CSV/TSV tabulaire + GeoJSON. React hooks, TypeScript.
Vue 3
vue-example/
Couverture 10 formats, Vue 3 Composition API, TypeScript.
Contrat inter-SDK
- API symétrique identique :
ToToon() / toonTo () sur les 15 ports. - Même types d'erreur : ToonExportError (ou équivalent du langage) partout.
- Même encodeur/décodeur TOON v3.0 avec options identiques (indent_size, strict, key_folding, default_delimiter).
- Même options CSV : multi-séparateur (virgule, point-virgule, tabulation, pipe), conforme RFC 4180.
- Même catégories de tests : aller-retour, cas limites, entrées invalides, jeux de test officiels.
- Licence MIT pour les 15 SDK.