API Documentation
Programmatic access to DataValidate Pro conversion and validation tools. All conversions run client-side in your browser.
Overview
DataValidate Pro tools are implemented as client-side JavaScript functions. While we don't provide a traditional REST API, you can use our conversion libraries directly in your own JavaScript/TypeScript projects, or replicate the functionality using the same open-source libraries we use.
This documentation provides code examples for common conversions using popular libraries and command-line tools.
YAML ↔ JSON Conversion
JavaScript / Node.js
Using js-yaml library:
Python
Using PyYAML library:
Command Line (yq)
Using yq command-line tool:
CSV ↔ JSON Conversion
JavaScript / Node.js
Using papaparse library:
Python
Using Python's built-in csv module:
Command Line (csvkit)
Using csvkit toolkit:
XML ↔ JSON Conversion
JavaScript / Node.js
Using xml-js library:
Python
Using xmltodict library:
JWT Decoding
JavaScript / Node.js
Using jsonwebtoken library:
Python
Using PyJWT library:
Command Line (base64)
Basic JWT decoding without verification:
Base64 Encoding/Decoding
JavaScript / Node.js
Python
Command Line
Recommended Libraries
JavaScript / TypeScript
- •
js-yaml- YAML parser and dumper - •
papaparse- Powerful CSV parser - •
xml-js- XML to JSON converter - •
jsonwebtoken- JWT implementation
Python
- •
PyYAML- YAML parser and emitter - •
csv- Built-in CSV module - •
xmltodict- XML to dict converter - •
PyJWT- JWT implementation
Try Our Online Tools
Looking for a quick conversion without writing code? Try our browser-based tools:
Need more advanced text processing tools? Check out TextDiff for powerful text comparison and diff utilities.
Pour plus d'outils pour développeurs, visitez BinaryConvert.
