pub unsafe extern "C" fn vdef_coded_format_to_json(
format: *const vdef_coded_format,
jobj: *mut json_object,
) -> c_intExpand description
Write a coded format structure to a JSON object. The jobj JSON object must have been previously allocated. The ownership of the JSON object stays with the caller. @param format: pointer to an input coded format structure @param jobj: pointer to the JSON object to write to (output) @return 0 on success, negative errno value in case of error