title: How to nest objects and arrays in a YAML file?
body: <p>I currently have this JS array that I want to turn into a YAML file. I tried looking things up and I know how to make an object and array, but not how to nest them.</p>
  
  <pre><code>cartParams: [
      {
          title: Leg type,
          options: [
              Round, 
              Square
          ]
      },
      {
          title: Leg width / diameter,
          options: [
              1.00 inches,
              1.25 inches,
              1.50 inches,
              1.75 inches,
              2.00 inches
          ]
      }
  ]
  </code></pre>