json: Handle application/senml+json

Add handling of application/senml+json and application/sensml+json.
This commit is contained in:
Stig Bjørlykke 2022-02-07 10:15:12 +01:00 committed by A Wireshark GitLab Utility
parent 0a2629f844
commit e03a590246
1 changed files with 2 additions and 0 deletions

View File

@ -2118,6 +2118,8 @@ proto_reg_handoff_json(void)
dissector_add_for_decode_as("udp.port", json_file_handle);
dissector_add_string("media_type", "application/json", json_handle); /* RFC 4627 */
dissector_add_string("media_type", "application/senml+json", json_handle); /* RFC 8428 */
dissector_add_string("media_type", "application/sensml+json", json_handle); /* RFC 8428 */
dissector_add_string("media_type", "application/json-rpc", json_handle); /* JSON-RPC over HTTP */
dissector_add_string("media_type", "application/jsonrequest", json_handle); /* JSON-RPC over HTTP */
dissector_add_string("media_type", "application/dds-web+json", json_handle); /* DDS Web Integration Service over HTTP */