public static JsonValue readFrom ( String text ) { try { return new JsonParser ( text ) . parse ( ) ; } catch ( IOException exception ) { // JsonParser does not throw IOException for String throw new RuntimeException ( exception ) ; } }
Reads a JSON value from the given string .