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
-
Method Summary
-
Constructor Details
-
ReaderSource
-
-
Method Details
-
setReader
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceJSON.Source
-
next
public char next()- Specified by:
next
in interfaceJSON.Source
-
peek
public char peek()- Specified by:
peek
in interfaceJSON.Source
-
scratchBuffer
public char[] scratchBuffer()- Specified by:
scratchBuffer
in interfaceJSON.Source
-