nm_iam_serializer_state_load_json()

DESCRIPTION

Load the IAM state from a JSON string.

DECLARATION

bool nm_iam_serializer_state_load_json(struct nm_iam_state* state, const char* in, struct nn_log* logger)

PARAMETERS

state:
[in] State to load into
in:
[in] JSON string to load
logger:
[in] Logger for debugging

RETURNS

true iff the state was successfully loaded