public static JsonArray array ( String ... strings ) { if ( strings == null ) { throw new NullPointerException ( "values is null" ) ; } JsonArray array = new JsonArray ( ) ; for ( String value : strings ) { array . add ( value ) ; } return array ; }
Creates a new JsonArray that contains the JSON representations of the given strings .