drools-eclipse/org.kie.eclipse/src/main/java/com/eclipsesource/json/JsonArray.java
public JsonArray set( int index, String value ) {
    values.set( index, valueOf( value ) );
    return this;
  }
public JsonArray set( int index, String value ) {
    values.set( index, valueOf( value ) );
    return this;
  }
public JsonArray set ( int index , String value ) { values . set ( index , valueOf ( value ) ) ; return this ; }
Replaces the element at the specified position in this array with the JSON representation of
the specified string.

@param index
the index of the array element to replace
@param value
the string to be stored at the specified array position
@return the array itself, to enable method chaining
@throws IndexOutOfBoundsException
if the index is out of range, i.e. <code>index &lt; 0</code> or
<code>index &gt;= size</code>
Replaces the element at the specified position in this array with the JSON representation of the specified string .