JSON Key Value
- Extension
- .json
- Import
- yes
- Export
- yes
JSON (JavaScript Object Notation) is a lightweight data exchange format. It's easy for people to read and write, and easy for machines to analyze and generate. JSON is a text format that is completely language-independent, but uses conventions familiar to programmers in the C family of languages, including C, C ++, C #, Java, JavaScript, Perl, Python, and many others.
JSON key-value is mostly used in Javascript applications and frameworks. Each key is associated with a value, hierarchical data is supported. It's used by angular-translate , i18next , chrome extensions , i18n-node , and many other libraries.
Important
Specifically, for JSON "key-value", we import keys as terms and the key path in the "Context" field (each key in path is also enclosed in quotes). By default, terms are exported to JSON Key-Value based on their path.
When imported, any Unicode escape sequences coming from a JSON key-value file are converted to UTF-8 characters and exported as such.
Arrays that contain objects or other arrays are ignored.
Documentation
Example
Download the example file{ "contactForm": { "description": "Écrivez-nous une lettre à l'adresse", "title": "Contactez-nous" }, "addTerm": "Ajouter une traduction", "cancel": "Annuler", "confirm": "Confirmer", "enterProjectName": "Entrez le nom du projet", "helloWorld": "Bonjour le monde", "hi": "Bonjour", "selectLanguage": "Choisir la langue", "settings": "Paramètres" }