pub fn decode<T: Decode>(input: &str) -> Result<T, DecodeError>
Attempts to decode T from input using JER.
T
input
Returns error specific to JER decoder if decoding is not possible.