Parser for qos tags - defines MQTT Quality of Service level
This parser handles the qos tag that defines MQTT QoS levels. It extracts:
Raw content from the qos tag
Parsed QoS information or null if parsing fails
// Input: "0"// Output: { qos: 0 } Copy
// Input: "0"// Output: { qos: 0 }
// Input: "1"// Output: { qos: 1 } Copy
// Input: "1"// Output: { qos: 1 }
// Input: "2"// Output: { qos: 2 } Copy
// Input: "2"// Output: { qos: 2 }
4.1.0
Parser for qos tags - defines MQTT Quality of Service level
This parser handles the qos tag that defines MQTT QoS levels. It extracts: