title: Convert nested json to csv in powershell
body: <p>I need to import some JSON data am getting into my database. I'd like to use PowerShell and figured out a little, but I need help getting the final piece together.
  How to convert following nested JSON to flat CSV in Powershell?
  Following is the JSON data :</p>
  
  <p><code>$openings = '{"objects": [
      {
        "id": 136691,
        "title": "UX Desginer",<br>
        "description": "Hiring a UX Designer for our Front End Team",
        "position_type": "full_time",
        "is_remote_allowed": false,
        "is_archived": false,
        "is_private": false,
        "state": "Draft",
        "location": {
          "city": "Bangalore",
          "state": "Karnataka",
          "zipcode": "560078",
          "country": "India"
        },
        "team": "Front-end Team",
        "created_date": 1472804002,
        "modified_date": 1472804018,
        "application_email": "recruiterbox-dmcc0616@applications.recruiterbox.com",
        "hosted_url": "https://recruiterbox.recruiterbox.com/jobs/d933h5yh"
      },
      {
        "id": 136691,
        "title": "UX Desginer",<br>
        "description": "Hiring a UX Designer for our Front End Team",
        "position_type": "full_time",
        "is_remote_allowed": false,
        "is_archived": false,
        "is_private": false,
        "state": "Draft",
        "location": {
          "city": "Bangalore",
          "state": "Karnataka",
          "zipcode": "560078",
          "country": "India"
        },
        "team": "Front-end Team",
        "created_date": 1472804002,
        "modified_date": 1472804018,
        "application_email": "recruiterbox-dmcc0616@applications.recruiterbox.com",
        "hosted_url": "https://recruiterbox.recruiterbox.com/jobs/d933h5yh"
      }
    ],
    "meta": {
      "total": 1,
      "limit": 20,
      "offset": 0
    }}'</code></p>