Function

IpuzStylenew_from_json

Declaration [src]

IpuzStyle*
ipuz_style_new_from_json (
  JsonNode* node
)

Description [src]

Creates a new IpuzStyle by parsing node.

Parameters

node

Type: JsonNode

A JsonNode containing a style definition.

The data is owned by the caller of the function.

Return value

Type: IpuzStyle

A newly created IpuzStyle, or NULL on error.

The caller of the function takes ownership of the data, and is responsible for freeing it.