Runtime message from/to plain object converters.
Methods
-
converter.fromObject(mtype){ Codegen }
-
Generates a plain object to runtime message converter specific to the specified message type.
Name Type Description mtype
Type Message type
Returns:
Type Description Codegen Codegen instance -
converter.toObject(mtype){ Codegen }
-
Generates a runtime message to plain object converter specific to the specified message type.
Name Type Description mtype
Type Message type
Returns:
Type Description Codegen Codegen instance