Nested JSON

JSON format with possible nested keys. Keys will be stored by separating levels with a dot ".". During export, all keys will be split again and rendered as nested JSON structure.

File Extensions .json
API Extension nested_json
Format Options enable_pluralization
Import Yes
Export Yes
Pluralization supported? Yes
Descriptions/Comments supported? No

Example

{
  "app_title":{
    "title":"My Software Project",
    "sub_title":"This is the title of our app"
  },
  "greeting":{
    "message":{
      "haha":"Hello 'User'!\nHow are you doing today?"
    }
  }
}

Format Options

Option Type Upload Download Default Description
enable_pluralization boolean check close false Enables detection of pluralized keys. All matching keys will be persisted as pluralized keys.

Pluralization

This format uses named categories to identify the different pluralizations of a key. The following categories are reserved for pluralization:

.zero | .one | .two | .few | .many | .other

Example key names:
inbox.messages.notification.one
inbox.messages.notification.other

This way pluralized keys can be identified, persisted and marked accordingly.
Learn more about pluralization?