T
- output type@FunctionalInterface public interface Decoder<T>
Modifier and Type | Method and Description |
---|---|
T |
decode(Reporter reporter,
Object json,
TfcatObject parent)
Takes a parsed JSON object (may be an array or something else)
and attempts to decode it into an object of this decoder's
parameterised type.
|
T decode(Reporter reporter, Object json, TfcatObject parent)
reporter
- destination for error messagesjson
- input JSON objectparent
- parent object, may be nullCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.