title: Convert array of rings to geoJSON object
body: <p>I have an array of rings that I am working with and I am trying to convert it to geoJSON:</p>
  <pre><code>[
      [
          -13441425.32511117,
          4491520.711015136
      ],
      [
          -13440894.1920939,
          4491511.685098792
      ],
      [
          -13440922.71925878,
          4490494.010447212
      ],
      [
          -13441438.25014971,
          4490494.010447212
      ],
      [
          -13441425.32511117,
          4491520.711015136
      ]
  ]
  </code></pre>
  <p>It seems like I should be able to do this relatively simply using the <a href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html#toJSON" rel="nofollow noreferrer">ArcGIS Geometry class</a>, but I haven't been able to get it to work. For example, I tried creating a new Geometry instance and then adding the rings to it but I don't understand how to then call the toJSON method on it after I add the ring data. Any help would be greatly appreciated. Thank you.</p>