pub async fn publish_json( conn: &Connection, subject: &str, payload: &Value, ) -> Result<(), Error>
Publish a JSON payload to a subject