pub fn decode_attribute_json(
cluster_id: u32,
attribute_id: u32,
tlv_value: &TlvItemValue,
) -> StringExpand description
Main dispatcher function for decoding attributes to JSON
This function routes to the appropriate cluster-specific decoder based on cluster ID.
§Parameters
cluster_id- The cluster identifierattribute_id- The attribute identifiertlv_value- The TLV value to decode
§Returns
JSON string representation of the decoded value or error message