title: Parse json without knowning the keys
body: <p>i am trying to parse json in java without knowing the keys and the structure of json format and save that data into the hashmap </p>
  
  <p>how would i cycle through the whole json format and store key and value into the hashmap </p>
  
  <pre><code> {"id" : 12345, "value" : "123", "person" : "1"}
  </code></pre>
  
  <p>like in this example all the keys would be jsonobject none of them will be json array </p>
  
  <p>There is some other library like jackson i don't want to use any third party library </p>