Skip to main content

sparse_vec_to_json

Function sparse_vec_to_json 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn sparse_vec_to_json( handle: *const SparseVecHandle, ) -> ByteBuffer
Expand description

Serialize a SparseVec to JSON

ยงSafety

  • handle must be valid
  • Returns a ByteBuffer that must be freed with byte_buffer_free