class documentation
class JSONProtoPayloadConverter(EncodingPayloadConverter): (source)
Constructor: JSONProtoPayloadConverter(ignore_unknown_fields)
Converter for 'json/protobuf' payloads supporting protobuf Message values.
| Method | __init__ |
Initialize a JSON proto converter. |
| Method | from |
See base class. |
| Method | to |
See base class. |
| Property | encoding |
See base class. |
| Instance Variable | _ignore |
Undocumented |
Initialize a JSON proto converter.
| Parameters | |
ignorebool | Determines whether converter should error if unknown fields are detected |
def from_payload(self, payload:
temporalio.api.common.v1.Payload, type_hint: type | None = None) -> Any:
(source)
¶
See base class.