JsonParser.@Deprecated
public final class SajParser
extends java.lang.Object
JsonListener.
 
 Instances of SajParser are thread-safe in that concurrent calls to parse are safe, provided
 each call is made with a different Reader and a different JsonListener.
JsonListener| Constructor and Description | 
|---|
| SajParser()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | parse(java.io.Reader in,
     JsonListener jsonListener)Deprecated. 
 Replaced by  JsonParser.parseStreaming(Reader, JsonListener). | 
| void | parse(java.lang.String json,
     JsonListener jsonListener)Deprecated. 
 Replaced by  JsonParser.parseStreaming(String, JsonListener). | 
public void parse(java.lang.String json,
                  JsonListener jsonListener)
           throws InvalidSyntaxException
JsonParser.parseStreaming(String, JsonListener).String into calls to the given JsonListener.json - the String to parse.jsonListener - the JsonListener to notify of parsing eventsInvalidSyntaxException - thrown to indicate the characters read from in did not constitute valid JSON.public void parse(java.io.Reader in,
                  JsonListener jsonListener)
           throws InvalidSyntaxException,
                  java.io.IOException
JsonParser.parseStreaming(Reader, JsonListener).in - the character stream to parsejsonListener - the JsonListener to notify of parsing eventsInvalidSyntaxException - thrown to indicate the characters read from in did not constitute valid JSON.java.io.IOException - rethrown when reading characters from in throws IOException.