public class ArrayParam<T> extends Param<T[]>
clazz, defaultValue, description, name, validator
Constructor and Description |
---|
ArrayParam(String name,
Class<T[]> clazz,
String description,
T[] defaultValue,
ParamValidator<T[]> validator) |
Modifier and Type | Method and Description |
---|---|
T[] |
jsonDecode(Object json)
Decodes the given json-supported object into an object of class type T.
|
equals, hashCode, jsonEncode, toString
public T[] jsonDecode(Object json) throws IOException
Param
jsonDecode
in class Param<T[]>
json
- A json-supported object.IOException
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.