This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Copy json from the request

0

I'm trying to copy json from a POST'ed request. I can see the json in two different formats, but none of them easily copyable.

Any suggestions how to get the json out of request in a simple way?

json place

json place 2

asked 22 Apr '16, 08:27

Aleksander's gravatar image

Aleksander
6113
accept rate: 0%


One Answer:

2

Right click the Javascript Object Notation entry in the packet list, select "Export Packet Bytes...", enter a suitable filename, e.g json.txt and then click Save.

For the first packet in the json sample capture here, I got this output:

[{"C":"VIS","D":{"u":[{"i":270729761,"c":7143451,"p":2187,"pp":10849}, "i":270746145,"c":7143452,"pp":10849,"ps":0,"pe":0}]}}]

answered 22 Apr '16, 09:12

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Took me a while to find the "Export Packet Bytes Bytes" option. But found and it worked like a charm. Thanks!

(25 Apr '16, 14:13) Aleksander

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(26 Apr '16, 00:56) Jaap ♦