#[unsafe(no_mangle)]pub unsafe extern "C" fn ymap_get_json(
map: *const Branch,
txn: *const Transaction,
key: *const c_char,
) -> *mut c_charExpand description
Returns a value stored under the provided key as UTF-8 encoded, NULL-terminated JSON string.
Once not needed that string should be deallocated using ystring_destroy.
This method will return NULL pointer if value was not found or value couldn’t be serialized
into JSON string.
This method will also try to serialize complex types that don’t have native JSON representation like YMap, YArray, YText etc. in such cases their contents will be materialized into JSON values.