Categories
Translate JSON5 files in Crowdin
Requires Crowdin account
This application adds support for JSON5, which is a superset of JSON, making it easier to write and maintain by hand.
JSON5 is an extension of JSON, designed for easier manual writing and maintenance, and is a superset of JSON, including some ES5.1 features.
{
// This is a comprehensive JSON5 example file
// Demonstrating all JSON5 features
/* Project Information */
project: {
name: 'Advanced JSON5 Example',
version: '2.1.0',
author: 'JSON5 Developer',
license: 'MIT',
description: "This is a multi-line string\nthat demonstrates JSON5's support\nfor template literals and line breaks",
},
// Feature showcase
features: [
'comments (single and multi-line)',
'unquoted object keys',
'single and double quotes',
'trailing commas',
'hexadecimal numbers',
'leading/trailing decimal points',
'positive signs',
'multi-line strings',
],
// Array examples with trailing commas
environments: [
'development',
'testing',
'staging',
'production', // trailing comma allowed
],
// Feature flags
featureFlags: {
enableNewUI: true,
betaFeatures: false,
experimentalAPIs: true,
debugMode: false, // trailing comma in objects too
}
// Development tools
devTools: {
linting: {
enabled: true,
rules: ['eslint:recommended', 'prettier'],
},
testing: {
framework: 'jest',
coverage: {
threshold: 80,
reports: ['text', 'html', 'lcov'],
},
},
bundler: 'webpack',
},
}
Crowdin is a platform that helps you manage and translate content into different languages. Integrate Crowdin with your repo, CMS, or other systems. Source content is always up to date for your translators, and translated content is returned automatically.
Learn MoreReleased on Aug 21, 2025
Updated on Sep 4, 2025
Identifier:json5