35 const char *valueAsString =
"";
36 if (json_object_get_type(js) == json_type_string)
37 valueAsString = json_object_get_string(js);
41 if (strcmp(valueAsString,
"last") == 0)
42 value = VuoNotePriority_Last;
43 else if (strcmp(valueAsString,
"lowest") == 0)
44 value = VuoNotePriority_Lowest;
45 else if (strcmp(valueAsString,
"highest") == 0)
46 value = VuoNotePriority_Highest;