---
name: "sc_warts2json"
section: "1"
platform: "linux"
package: "scamper"
version: "20211212-1.2+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_warts2json"
---

# sc\_warts2json(1)

JSON dump of information contained in a warts file.

## NAME

**sc\_warts2json** – JSON dump of information contained in a warts file.

## SYNOPSIS

**sc\_warts2json** \[*file ...*\]

## DESCRIPTION

The **sc\_warts2json** utility provides a JSON dump of information contained in a sequence of warts files. The output is the same as that which would have been provided by scamper if the JSON output option had been chosen instead of the warts output option when the data was collected.

## EXAMPLES

The command:

sc\_warts2json file1.warts file2.warts

will decode and print the contents of file1.warts, followed by the contents of file2.warts.

The command:

gzcat file1.warts.gz \| sc\_warts2json

will print the contents of the uncompressed file supplied on stdin.

## SEE ALSO

[scamper(1)](/scamper/1.md), [sc\_wartsdump(1)](/sc_wartsdump/1.md), [sc\_warts2text(1)](/sc_warts2text/1.md)

## AUTHORS

**sc\_warts2json** was written by Matthew Luckie \<mjl@luckie.org.nz\>. The JSON output format for traceroute and ping was built on an initial prototype provided by Brian Hammond of Internap Network Services Corporation. The JSON output format for tbit and dealias was implemented by Matthew Luckie.
