public static EJValue decode(final String o) { try { return new JSONStreamDecoder(new ByteArrayInputStream(o.getBytes("UTF-8"))).parse(); } catch (UnsupportedEncodingException e) { throw new AssertionError("UTF-8 not supported by this JRE?"); } } }
public static EJValue decode(final String o) { try { return new JSONStreamDecoder(new ByteArrayInputStream(o.getBytes("UTF-8"))).parse(); } catch (UnsupportedEncodingException e) { throw new AssertionError("UTF-8 not supported by this JRE?"); } } }
public static EJValue decode(final InputStream instream) throws IOException { return new JSONStreamDecoder(instream).parse(); }
public static EJValue decode(final InputStream instream) throws IOException { return new JSONStreamDecoder(instream).parse(); }