title: Java: JSON String -> LIST OF Protobuf
body: <pre><code>JsonFormat.parser().merge(json_string, builder);
  </code></pre>
  <p>I know that I can use the above code for turning a json string into a Protobuf java object. But what if my json_string has multiple items (list) and I want to turn it into LIST OF Protobuf java objects?</p>
  <p>For example my json string being:</p>
  <pre><code>[
    {&quot;id&quot;: 1},
    {&quot;id&quot;: 2},
    {&quot;id&quot;: 3}
  ]
  </code></pre>
  <p>how can I turn this into a List containing 3 Protobuf objects in java?</p>