Define CWL class and generic methods, no fields defeind.

Methods

getFields(values)

Return fields as a list, used for following conversion, does not assume the value is a primitive type.

toJSON(...)

Covert object to JSON

toList(...)

Convert object to a list of simple data types

toYAML(...)

Covert object to YAML

Examples

# no fields, only to provide methods to be extended x <- CWL()