title: Splitting JSON string into multiple JSON strings in Java
body: <p>I have got a JSON structure similar to below:</p>
  
  <pre class="lang-json prettyprint-override"><code>{
    "MyApp": "2.0",
    "info": {
      "version": "1.0.0"
    },
    "paths": {
      "MyPath1": {
        "Key": "Value"
      },
      "MyPath2": {
        "Key": "Value"
      }
    }
  }
  </code></pre>
  
  <p>Within <code>paths</code> there could be a variable number of <code>MyPath</code> keys. I want to break this structure into something like below:</p>
  
  <ul>
  <li>JSON 1:</li>
  </ul>
  
  <pre class="lang-json prettyprint-override"><code>{
    "MyApp": "2.0",
    "info": {
      "version": "1.0.0"
    },
    "paths": {
      "MyPath1": {
        "Key": "Value"
      }
    }
  }
  </code></pre>
  
  <ul>
  <li>JSON 2:</li>
  </ul>
  
  <pre class="lang-json prettyprint-override"><code>{
    "MyApp": "2.0",
    "info": {
      "version": "1.0.0"
    },
    "paths": {
      "MyPath2": {
        "Key": "Value"
      }
    }
  }
  </code></pre>
  
  <p>Is there any simple approach I can opt for this in Java?</p>