32 const char *valueAsString =
"";
34 if (json_object_get_type(js) == json_type_string)
35 valueAsString = json_object_get_string(js);
39 if (! strcmp(valueAsString,
"perspective"))
40 value = VuoProjectionType_Perspective;
41 else if (! strcmp(valueAsString,
"affine"))
42 value = VuoProjectionType_Affine;