Interface Parameters<T>
-
- Type Parameters:
T- Type of parameter
- All Superinterfaces:
Supplier<T>
- All Known Implementing Classes:
ArrayParameters,ObjectParameters
public interface Parameters<T> extends Supplier<T>
Represents the params in a JSON-RPC request.Its two implementations
ArrayParametersandObjectParameterscover the possible JSON types of Object and Array.- Since:
- 0.1.0
- Author:
- Elias*
- See Also:
- JSON-RPC Specification
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(com.google.gson.stream.JsonWriter out)Writes one JSON value (an array, object, string, number, boolean or null).
-
-
-
Method Detail
-
write
void write(com.google.gson.stream.JsonWriter out) throws IOExceptionWrites one JSON value (an array, object, string, number, boolean or null).- Parameters:
out- TheJsonWriterused as output- Throws:
IOException- If serialization fails
-
-