Interface JsonHandler
Deprecated.
use JSON Processing API instead.
The
JSONHandler interface receives notifications from the
JsonParser.-
Method Summary
Modifier and TypeMethodDescriptionvoidarray()Deprecated.Receive notification about the start of an JSON array.voidendArray()Deprecated.Receive notification about the end of an JSON array.voidDeprecated.Receive notification about the end of an JSON object.voidDeprecated.Receive notification about the given JSON key.voidobject()Deprecated.Receive notification about the start of an JSON object.voidvalue(boolean value) Deprecated.Receive notification about the given JSON boolean value.voidvalue(double value) Deprecated.Receive notification about the given JSON number value (double).voidvalue(long value) Deprecated.Receive notification about the given JSON number value (long).voidDeprecated.Receive notification about the given JSON String value.
-
Method Details
-
object
Deprecated.Receive notification about the start of an JSON object.- Throws:
IOException- If an error occurs.
-
endObject
Deprecated.Receive notification about the end of an JSON object.- Throws:
IOException- If an error occurs.
-
array
Deprecated.Receive notification about the start of an JSON array.- Throws:
IOException- If an error occurs.
-
endArray
Deprecated.Receive notification about the end of an JSON array.- Throws:
IOException- If an error occurs.
-
key
Deprecated.Receive notification about the given JSON key.- Parameters:
key- The key.- Throws:
IOException- If an error occurs.
-
value
Deprecated.Receive notification about the given JSON String value.- Parameters:
value- The value.- Throws:
IOException- If an error occurs.
-
value
Deprecated.Receive notification about the given JSON boolean value.- Parameters:
value- The value.- Throws:
IOException- If an error occurs.
-
value
Deprecated.Receive notification about the given JSON number value (long).- Parameters:
value- The value.- Throws:
IOException- If an error occurs.
-
value
Deprecated.Receive notification about the given JSON number value (double).- Parameters:
value- The value.- Throws:
IOException- If an error occurs.
-