drools-eclipse/org.kie.eclipse/src/main/java/com/eclipsesource/json/JsonValue.java
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 );
    }
  }
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 );
    }
  }
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.

@param text
the string that contains the JSON value
@return the JSON value that has been read
@throws ParseException
if the input is not valid JSON
Reads a JSON value from the given string .