@Test public void shouldParseDocumentWithSingleFieldWithDoubleValue() throws Exception { doc = reader.read("{ \"foo\" : 2.3543 }"); assertField("foo", 2.3543d); }
public Document read( URL url ) throws ParsingException { try { return read(url.openStream(), DEFAULT_INTROSPECT); } catch (IOException e) { throw new ParsingException(e.getMessage(), e, 0, 0); } }
JsonReader { public Document read( URL url ) throws ParsingException { try { return read(url.openStream(), DEFAULT_INTROSPECT); } catch (IOException e) { throw new ParsingException(e.getMessage(), e, 0, 0); } } }
JsonReader { public Document read( URL url ) throws ParsingException { try { return read(url.openStream(), DEFAULT_INTROSPECT); } catch (IOException e) { throw new ParsingException(e.getMessage(), e, 0, 0); } }  }
JsonReader { public Document read( URL url ) throws ParsingException { try { return read(url.openStream(), DEFAULT_INTROSPECT); } catch (IOException e) { throw new ParsingException(e.getMessage(), e, 0, 0); } }  Document read( URL url ); Document read( InputStream stream ); Document read( InputStream stream,
                          Charset charset ); Document read( Reader reader ); Document read( String json ); Document read( InputStream stream,
                          boolean introspectStringValues ); Document read( InputStream stream,
                          Charset charset,
                          boolean introspectStringValues ); Document read( Reader reader,
                          boolean introspectStringValues ); Document read( String json,
                          boolean introspectStringValues ); DocumentSequence readMultiple( InputStream stream ); DocumentSequence readMultiple( InputStream stream,
                                          boolean introspectStringValues ); DocumentSequence readMultiple( Reader reader ); DocumentSequence readMultiple( Reader reader,
                                          boolean introspectStringValues ); static Number parseNumber( String value ); }
JsonReader { public Document read( URL url ) throws ParsingException { try { return read(url.openStream(), DEFAULT_INTROSPECT); } catch (IOException e) { throw new ParsingException(e.getMessage(), e, 0, 0); } }  Document read( URL url ); Document read( InputStream stream ); Document read( InputStream stream,
                          Charset charset ); Document read( Reader reader ); Document read( String json ); Document read( InputStream stream,
                          boolean introspectStringValues ); Document read( InputStream stream,
                          Charset charset,
                          boolean introspectStringValues ); Document read( Reader reader,
                          boolean introspectStringValues ); Document read( String json,
                          boolean introspectStringValues ); DocumentSequence readMultiple( InputStream stream ); DocumentSequence readMultiple( InputStream stream,
                                          boolean introspectStringValues ); DocumentSequence readMultiple( Reader reader ); DocumentSequence readMultiple( Reader reader,
                                          boolean introspectStringValues ); static Number parseNumber( String value ); static final boolean DEFAULT_INTROSPECT; }