Elide too long strings in JSON data
json-elide-strings [--length=N] [--keys] [--suffix=ELLIPSIS] [FILE]
% cat long.json
{
"foo": [
"barrrrrrrrrrrrrrrrrr",
{
"baz": "quuuuuuuuuuuuuuux"
}
]
}
% json-elide-strings --length=6 < long.json
{
"foo": [
"bar...",
{
"baz": "quu..."
}
]
}