yinput_json

Function yinput_json 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn yinput_json(str: *const c_char) -> YInput
Expand description

Function constructor used to create aa YInput cell representing any JSON-like object. Provided parameter must be a null-terminated UTF-8 encoded JSON string.

This function doesn’t allocate any heap resources and doesn’t release any on its own, therefore its up to a caller to free resources once a structure is no longer needed.