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