Skip to content

JSON (nested, flat)

Babli supports JSON files for nested and flat formats.

Simple (flat)

{
"hero.title": "Hello World",
"hero.text": "This is a description",
"footer.text": "This is a footer text"
}

With english as a key

{
"Hello World": "Hello World",
"This is a description": "This is a description",
"This is a footer text": "This is a footer text"
}

Nested

{
"hero": {
"title": "Hello World",
"text": "This is a description"
},
"footer": {
"text": "This is a footer text"
}
}