public < T > T decode ( Reader reader , Class < ? extends T > cls ) throws ParserException , IOException { try { return net . arnx . jsonic . JSON . decode ( reader , cls ) ; } catch ( net . arnx . jsonic . JSONException e ) { throw new ParserException ( e . getMessage ( ) ) ; } }
Decodes a JSON reader into a typed object .