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,
"triangle") == 0)
42 value = VuoPixelShape_Triangle;
43 else if (strcmp(valueAsString,
"hexagon") == 0)
44 value = VuoPixelShape_Hexagon;