Common275 Documents

Empty Json Values

Remove empty JSON objects from localization files, including empty scopes such as "panel": {}. Delete any JSON file whose entire content is an empty object, including connectionStrings.json and settingsOverride.json, rather than retaining a file containing only {}. Preserve meaningful values such as false, 0, and empty arrays.

Philosophy

Omit empty configuration and localization placeholders so the remaining files describe actual values.

Correct

{ "panel": { "title": "Settings" } }
{ "enabled": false, "count": 0, "items": [] }

Incorrect

{}
{ "panel": {} }

Fix

Remove empty object entries from localization files. If a JSON file contains only {}, delete the file instead of keeping the empty object.