title: How to read two concatenated JSON files?
body: <p>I have the follwing file consising of two concatendated JSON strings:</p>
  
  <pre><code>{
    "hello": 2,
    "world": 3
  }{
    "something": 5,
    "else": 6
  }
  </code></pre>
  
  <p>Both of them are correct individually (they are more complex than that, but are always two JSON dicts one after each other).</p>
  
  <p>Since I can predict the format of the first one (close to my example above), I will parse the file with a regex expression and end up separating them (I just need the second JSON):</p>
  
  <pre><code>{[\s\S]*?}([.\n]*?)
  </code></pre>
  
  <p>While this solution works, I wanted to make sure that there is not a more generic way to address this problem.</p>