private void addToJsonArray ( String key , JsonValue value ) { if ( value == null ) { throw new NullPointerException ( "Value cannot be null." ) ; } PiwikJsonArray a = ( PiwikJsonArray ) parameters . get ( key ) ; if ( a == null ) { a = new PiwikJsonArray ( ) ; parameters . put ( key , a ) ; } a . add ( value ) ; }
Add a value to the json array at the specified parameter