boon/src/main/java/org/boon/json/JsonSlurper.java
public Object parseText(String text) {
        if (text == null || text.length() == 0) {
            throw new IllegalArgumentException("The JSON input text should neither be null nor empty.");
        }

        return JsonFactory.create().fromJson ( text );
    }
public Object parseText(String text) {
        if (text == null || text.length() == 0) {
            throw new IllegalArgumentException("The JSON input text should neither be null nor empty.");
        }

        return JsonFactory.create().fromJson ( text );
    }
public Object parseText ( String text ) { if ( text == null || text . length ( ) == 0 ) { throw new IllegalArgumentException ( "The JSON input text should neither be null nor empty." ) ; } return JsonFactory . create ( ) . fromJson ( text ) ; }
Parse a text representation of a JSON data structure

@param text JSON text to parse
@return a data structure of lists and maps
Parse a text representation of a JSON data structure