pub unsafe extern "C" fn aws_json_value_new_number(
allocator: *mut aws_allocator,
number: f64
) -> *mut aws_json_value
Expand description
Creates a new number aws_json_value with the given number and returns a pointer to it.
Note: You will need to free the memory for the aws_json_value using aws_json_destroy on the aws_json_value or on the object/array containing the aws_json_value. @param number The number you want to store in the aws_json_value @param allocator The allocator to use when creating the value @return A new number aws_json_value