Ask Your Question

Revision history [back]

Usage of proto_tree_add_text

Hi, I want to add option for JSON dissector to display JSON data in more compcat form, like in developer tools in Firefox or Chrome.

This are links for pictures of original form: link text, and for compact form (new feature, test implementation): link text.

I'm planning to use function proto_tree_add_text to add new items. These new items will be used only to display but not for filtering. Filtering will be done by original json dissector.

I can't find dissectors which use it, but have found that there is for covertion proto_tree_add_text to other function.

So I'm confused, can I use proto_tree_add_text or not?