[Quickfix-developers] python: iterate through fields in a message
Brought to you by:
orenmnero
From: Ezra <ezr...@gm...> - 2020-07-21 01:51:23
|
Hi, I see several examples in emails on how to iterate through the fields in a message in other languages, but in python, the `message` object is not iterable nor are there any methods on the object for enumeration of fields that I see. Right now, to iterate I have to use message.toString(), split on '\x01` and for each split on '=' to get each field/value pair. Is there a better way to do this? Thanks, Ezra |