In addition to flat JSON files, Lokalise supports nested JSONs with unlimited depth:

{
  "main": {
    "username": "User name",
    "password": "Enter password",
    "app": "Lokalise"
  }
}

When adding new key via web interface, use :: to refer JSON levels, for example main::username.

Did this answer your question?