# Convert pcap to json

**URL:** <https://discourse.nodered.org/t/convert-pcap-to-json/35390>\
**Category:** General\
**Created:** [5 November 2020 18:16 UTC](https://discourse.nodered.org/t/convert-pcap-to-json/35390 "2020-11-05T18:16:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 November 2020 21:47 UTC](https://discourse.nodered.org/t/convert-pcap-to-json/35390/2 "2020-11-05T21:47:16Z")

</div>

> [@rparada](#):
>
> The output without the JSON node is:
> 
> `"LINKTYPE_ETHERNET 08:00:27:ce:a0:de -> 80:78:71:43:57:7a IPv4 192.168.1.55 -> 84.88.40.59 flags [d] UDP UDP 445->445 len 107"`

I don't see where in that string you posted is all the information that you say you want out.  
By the way, I don't think that it is JSON that you want out, but a javascript object. A JSON is always a string.  
Also please see [this post](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506) for how to share flows, logs, code etc here.

---

_[View the full topic](https://discourse.nodered.org/t/convert-pcap-to-json/35390)._
