1 | initial version |
Not really. The dissection engine is in libwireshark but the API is NOT designed for external users, although some brave souls have done so. The json output part is handled elsewhere.
There is another option, sharkd, unfortunately poorly documented, which provides access to dissection over a tcp connection using json and is the backend for webshark.