🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
How to Publish messages in JSON Format in PYTHON ?
Answers
-
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](https://github.com/SolaceSamples/solace-samples-python/tree/main/patterns) and look at the direct_publisher.py or guaranteed_publisher.py depending on whether you want guaranteed messages or not.
Hope that helps!
0