s/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>InputStream</code></a> and <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>Reader</code></a>).

 <p>
 The following example demonstrates how to create a parser from a string
 that contains an empty JSON array:
 <pre>
 <code>
 JsonParser parser = Json.createParser(new StringReader("[]"));
 </