title: Using Python to insert a particular value through key in Json file
body: <p>I have a json file with key as shown below</p>
  <pre><code>&quot;container&quot;:[]
  </code></pre>
  <p>through python code i want to insert value to it and the value is located in a file.
  Suppose my value in a file is <code>{&quot;x&quot;:0,&quot;y&quot;:0}</code></p>
  <p>I want output as</p>
  <p><code>&quot;container&quot;:[{&quot;x&quot;:0,&quot;y&quot;:0}]</code></p>
  <p>this should happen in a loop and if i have one more text file it should append value as</p>
  <p><code>&quot;container&quot;:[{&quot;x&quot;:0,&quot;y&quot;:0},{&quot;x&quot;:1,&quot;y&quot;:1}]</code></p>
  <p>Please help me with this!!</p>