public interface JsonHandler
JSONHandler interface receives notifications from the
JsonParser.| Modifier and Type | Method and Description |
|---|---|
void |
array()
Receive notification about the start of an JSON array.
|
void |
endArray()
Receive notification about the end of an JSON array.
|
void |
endObject()
Receive notification about the end of an JSON object.
|
void |
key(java.lang.String key)
Receive notification about the given JSON key.
|
void |
object()
Receive notification about the start of an JSON object.
|
void |
value(boolean value)
Receive notification about the given JSON boolean value.
|
void |
value(double value)
Receive notification about the given JSON number value (double).
|
void |
value(long value)
Receive notification about the given JSON number value (long).
|
void |
value(java.lang.String value)
Receive notification about the given JSON String value.
|
void object()
throws java.io.IOException
java.io.IOException - If an error occurs.void endObject()
throws java.io.IOException
java.io.IOException - If an error occurs.void array()
throws java.io.IOException
java.io.IOException - If an error occurs.void endArray()
throws java.io.IOException
java.io.IOException - If an error occurs.void key(java.lang.String key) throws java.io.IOException
key - The key.java.io.IOException - If an error occurs.void value(java.lang.String value)
throws java.io.IOException
value - The value.java.io.IOException - If an error occurs.void value(boolean value)
throws java.io.IOException
value - The value.java.io.IOException - If an error occurs.void value(long value)
throws java.io.IOException
value - The value.java.io.IOException - If an error occurs.void value(double value)
throws java.io.IOException
value - The value.java.io.IOException - If an error occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved