Function pact_ffi::models::pactffi_parse_pact_json

source ·
#[no_mangle]
pub extern "C" fn pactffi_parse_pact_json(
    json: *const c_char
) -> *mut Pact
Expand description

Parses the provided JSON into a Pact model. The returned Pact model must be freed with the pactffi_pact_model_delete function when no longer needed.

§Error Handling

This function will return a NULL pointer if passed a NULL pointer or if an error occurs.