You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If something publishes invalid JSON, like a single "{" or double-quote character, to a given topic and then it's picked up by mosquitto_sub -t <topic> -F "%J" then that will print:
Would it make sense for mosquitto_sub to output something like this if it can't properly format the output? Or maybe print nothing to stdout for that message and instead print to stderr?
If something publishes invalid JSON, like a single "{" or double-quote character, to a given topic and then it's picked up by
mosquitto_sub -t <topic> -F "%J"
then that will print:which cannot be parsed.
Would it make sense for
mosquitto_sub
to output something like this if it can't properly format the output? Or maybe print nothing to stdout for that message and instead print to stderr?The text was updated successfully, but these errors were encountered: