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,
"linear") == 0)
42 value = VuoBlurShape_Linear;
43 else if (strcmp(valueAsString,
"box") == 0)
44 value = VuoBlurShape_Box;
45 else if (strcmp(valueAsString,
"disc") == 0)
46 value = VuoBlurShape_Disc;