title: How to convert JSON to GeoJSON with Python
body: <p>I'm actually learning how to do some cartography with python but first I would like to convert my json file to a GeoJson dynamically with Python. This is how my Json looks like :</p>
  <pre><code>[
    {
      &quot;shape_name&quot;: &quot;unit_shape&quot;,
      &quot;source_name&quot;: &quot;7724C_BUSSY_SAINT_GEORGES_Bussycomore&quot;,
      &quot;building_id&quot;: &quot;7724C&quot;,
      &quot;chaud_froid&quot;: &quot;Chaud&quot;,
      &quot;geojson&quot;: {
        &quot;type&quot;: &quot;LineString&quot;,
        &quot;properties&quot;: {
          &quot;densite_cc&quot;: null
        },
        &quot;coordinates&quot;: [
          [
            2.726142,
            48.834359
          ],
          [
            2.726149,
            48.834367
          ],
          [
            2.726202,
            48.834422
          ],
          [
            2.726262,
            48.834429
          ],
          [
            2.726307,
            48.834434
          ],
          [
            2.726316,
            48.834435
          ]
        ]
      },
      &quot;to_drop&quot;: null,
      &quot;id_enquete&quot;: null,
      &quot;shape_nom&quot;: null
    },
  ...(many other features similar to the precedent one)]
  </code></pre>
  <p>Can someone please help me ?</p>