In the following example we have settings for test, development and production environments. defaults is used where a value for that particular key is not supplied for the current environment.
{
  "test": {
    "url": "localhost"
  },
 "staging": {