Function yrs::youtput_read_json_map[][src]

#[no_mangle]
pub unsafe extern "C" fn youtput_read_json_map(
    val: *const YOutput
) -> *mut YMapEntry
Expand description

Attempts to read the value for a given YOutput pointer as a JSON-like map of key-value entries (which length is stored within len filed of a cell itself).

Returns a null pointer in case when a value stored under current YOutput cell is not a JSON-like map. Underlying heap resources are released automatically as part of youtput_destroy destructor.