Package org.eclipse.jetty.util.ajax
Class JSON.ReaderSource
java.lang.Object
org.eclipse.jetty.util.ajax.JSON.ReaderSource
- All Implemented Interfaces:
JSON.Source
- Enclosing class:
- JSON
A Reader source for a JSON string.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReaderSource
-
-
Method Details
-
setReader
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceJSON.Source
-
next
public char next()- Specified by:
nextin interfaceJSON.Source
-
peek
public char peek()- Specified by:
peekin interfaceJSON.Source
-
scratchBuffer
public char[] scratchBuffer()- Specified by:
scratchBufferin interfaceJSON.Source
-