pub unsafe extern "C" fn aws_json_value_add_to_object(
object: *mut aws_json_value,
key: aws_byte_cursor,
value: *mut aws_json_value
) -> c_int
Expand description
Adds a aws_json_value to a object aws_json_value.
Note that the aws_json_value will be destroyed when the aws_json_value object is destroyed by calling “aws_json_destroy()” @param object The object aws_json_value you want to add a value to. @param key The key to add the aws_json_value at. @param value The aws_json_value you want to add. @return AWS_OP_SUCCESS if adding was successful. Will return AWS_OP_ERROR if the object passed is invalid or if the passed key is already in use in the object.