Adds a value to a JSON array.
Returns 1 if successful, 0 if not.
|Handle||Handle to JSON Entity. Required.|
|NewValue||New value to be added to the JSON array. Required.|
|Type||The value's type: String, Number, or Boolean. Optional.|
The AddValue service adds the given value (String, Number, Boolean, or Null) to the end of the array. This only works if Handle is a JSON array. Unlike the Add service, you do not pass a handle to another JSON entity. This method is also more convenient and a little faster than Add. When you pass the value without specifying its type, then its type is automatically determined from the value itself. Empty values become Null types and values detected to be a number become the Number type. Everything else becomes a string. You can always force the type you want by setting the Type parameter explicitly.