title: How to reference another value within the same appsettings.json file?
body: <p>I need database connection string in two places in appsettings.json.</p>
  
  <p>Is it possible to introduce common variable or json-path related references into json file to avoid potencial problems? </p>
  
  <p>It would be lovely to have it without touching c# code.</p>
  
  <pre><code>{
  ...
    "ConnectionStrings": {
      "Default": "Host=localhost;Database=db;Port=5432;Username=postgres;Password=postgres"
    },
    "Nlog": {
      "targets": {
        "database": {
          "type": "Database",
          "dbProvider": "Npgsql.NpgsqlConnection, Npgsql",
          "connectionString": "Host=localhost;Database=db;Port=5432;Username=postgres;Password=postgres",
  ...
        }
      }
  ...
  }
  </code></pre>