nm_iam_serializer_state_dump_json()

DESCRIPTION

Dump the IAM state to a JSON string for persistent storage. The resulting string must be freed with nm_iam_serializer_string_free().

DECLARATION

bool nm_iam_serializer_state_dump_json(struct nm_iam_state* state, char** out)

PARAMETERS

state:
[in] State to dump from
out:
[out] Where to put serialized state

RETURNS

true iff the state was serialized successfully