YAML string field type object

A string field type object is the type of null-terminated string data fields, found in data streams.

Properties

Name Type Description Required?

class

String

This property’s value must be one of:

  • string

  • str

Yes if the $inherit property is not set.

$inherit

String

Name of a field type alias from which to inherit.

Yes if the class property is not set.

Generated C type

const char *

Example

Example 1. Basic string field type object.
class: string