pub unsafe extern "C" fn aws_json_value_destroy(
value: *mut aws_json_value
)
Expand description
Removes the aws_json_value from memory. If the aws_json_value is a object or array, it will also destroy attached aws_json_values as well.
For example, if you called “aws_json_array_add(b, a)” to add an object “a” to an array “b”, if you call “aws_json_destroy(b)” then it will also free “a” automatically. All children/attached aws_json_values are freed when the parent/root aws_json_value is destroyed. @param value The aws_json_value to destroy.