title: Convert float string to float in json
body: <p>I have a json(<code>test.json</code>) file with the below data. I have around 10000 records. I need to convert <code>value</code> from string to float write in the new file(<code>test1.json</code>). How can I do do this from Python?</p>
  <pre><code>{
      &quot;name&quot;:&quot;test001&quot;,
      &quot;cat&quot;:&quot;test&quot;,
      &quot;loc&quot;:&quot;x loc&quot;,
      &quot;ings&quot;:[
          {
              &quot;name&quot;:&quot;rrrrrr&quot;,
              &quot;value&quot;:&quot;13.0&quot;
          },
          {
              &quot;name&quot;:&quot;hhhh&quot;,
              &quot;value&quot;:&quot;18.0&quot;
          }
      ],
      &quot;nums&quot;:[
          {
              &quot;name&quot;:&quot;kkkk&quot;,
              &quot;value&quot;:&quot;82.05&quot;
          },
          {
              &quot;name&quot;:&quot;uuuuu&quot;,
              &quot;value&quot;:&quot;53.55&quot;
          }
      ]
  },
  {
      &quot;name&quot;:&quot;test002&quot;,
      &quot;cat&quot;:&quot;test1&quot;,
      &quot;loc&quot;:&quot;y loc&quot;,
      &quot;ings&quot;:[
          {
              &quot;name&quot;:&quot;trtrtr&quot;,
              &quot;value&quot;:&quot;11.0&quot;
          },
          {
              &quot;name&quot;:&quot;wewew&quot;,
              &quot;value&quot;:&quot;19.0&quot;
          }
      ],
      &quot;nums&quot;:[
          {
              &quot;name&quot;:&quot;iuyt&quot;,
              &quot;value&quot;:&quot;122.05&quot;
          },
          {
              &quot;name&quot;:&quot;oiui&quot;,
              &quot;value&quot;:&quot;15.5&quot;
          }
      ]
  }
  </code></pre>
  <p>resulting json file(test1.json) should be like below...</p>
  <pre><code>{
      &quot;name&quot;:&quot;test001&quot;,
      &quot;cat&quot;:&quot;test&quot;,
      &quot;loc&quot;:&quot;x loc&quot;,
      &quot;ings&quot;:[
          {
              &quot;name&quot;:&quot;rrrrrr&quot;,
              &quot;value&quot;:13.0
          },
          {
              &quot;name&quot;:&quot;hhhh&quot;,
              &quot;value&quot;:18.0
          }
      ],
      &quot;nums&quot;:[
          {
              &quot;name&quot;:&quot;kkkk&quot;,
              &quot;value&quot;:82.05
          },
          {
              &quot;name&quot;:&quot;uuuuu&quot;,
              &quot;value&quot;:53.55
          }
      ]
  },
  {
      &quot;name&quot;:&quot;test002&quot;,
      &quot;cat&quot;:&quot;test1&quot;,
      &quot;loc&quot;:&quot;y loc&quot;,
      &quot;ings&quot;:[
          {
              &quot;name&quot;:&quot;trtrtr&quot;,
              &quot;value&quot;:11.0
          },
          {
              &quot;name&quot;:&quot;wewew&quot;,
              &quot;value&quot;:19.0
          }
      ],
      &quot;nums&quot;:[
          {
              &quot;name&quot;:&quot;iuyt&quot;,
              &quot;value&quot;:122.05
          },
          {
              &quot;name&quot;:&quot;oiui&quot;,
              &quot;value&quot;:15.5
          }
      ]
  }
  </code></pre>