How to Publish messages in JSON Format in PYTHON ?

Hi Myself ranganath working as software engineer in standard chartered bank my requirement is to publish message in JSON Format in python .
Kindly assist.

Hi @ranganathrangu ,
One of the nice thing about the Solace APIs is we don’t restrict what you can put into the message payload/body, of course with a few exceptions such as exceeding the max message size.
Please check out our Python Samples and look at the direct_publisher.py or guaranteed_publisher.py depending on whether you want guaranteed messages or not.
Hope that helps!