title: How do you get the name field of a JSON object in Powershell if you don't know it?
body: <p>I have this JSON file:</p>
  
  <pre><code>{
      "CARD_MODEL_TITLE": "OWNER'S MANUAL",
      "CARD_MODEL_SUBTITLE": "Configure your download",
      "CARD_MODEL_SELECT": "Select Model",
      "CARD_LANG_TITLE": "Select Language",
      "CARD_LANG_DEVICE_LANG": "Your device",
      "CARD_YEAR_TITLE": "Select Model Year",
      "CARD_YEAR_LATEST": "(Latest)",
      "STEPS_MODEL": "Model",
      "STEPS_LANGUAGE": "Language",
      "STEPS_YEAR": "Model Year",
      "BUTTON_BACK": "Back",
      "BUTTON_NEXT": "Next",
      "BUTTON_CLOSE": "Close"
  }
  </code></pre>
  
  <p>And the syntax I use to convert it to a JSON object in Powershell is this one:</p>
  
  <pre><code>$json = (Get-Content "jsonfile.json") -join "`n" | ConvertFrom-Json
  </code></pre>
  
  <p>The thing is that I want to edit the <i>value</i> of each pair <i>name/value</i>, but the <i>name</i> field may vary in other files, and since I want a single script for every file this has to be generic.</p>
  
  <p>How do I get the <i>name</i> field of a pair <i>name/value</i> without knowing the <i>name</i> field beforehand? Or in other words, I want a kind of: <code>foreach ($i in $json)</code></p>
  
  <p>Thanks</p>