Vuo
0.4.5
|
Functions to serialize, unserialize, and summarize values of the type.
Functions | |
MyType | MyType_valueFromJson (json_object *js) |
Creates a new MyType value by unserializing a JSON-C object. | |
json_object * | MyType_jsonFromValue (const MyType value) |
Serializes a MyType value to a JSON-C object. | |
char * | MyType_summaryFromValue (const MyType value) |
Returns a brief description of a value. | |
char * | MyType_interprocessStringFromValue (const MyType value) |
char* MyType_interprocessStringFromValue | ( | const MyType | value | ) |
This function is optional.
json_object* MyType_jsonFromValue | ( | const MyType | value | ) |
Serializes a MyType
value to a JSON-C object.
This function is required.
value | The value to serialize. |
MyType_valueFromJson
. char* MyType_summaryFromValue | ( | const MyType | value | ) |
Returns a brief description of a value.
This function is required.
value | The value to summarize. |
MyType MyType_valueFromJson | ( | json_object * | js | ) |
Creates a new MyType
value by unserializing a JSON-C object.
This function is required.
js | A JSON-C object from MyType_jsonFromValue , a constant port value defined in a composition, or a default port value defined in a node class implementation. |
vuoRegister
.