analyse-json

CLI tool to analyse Newline Delimited (ND)JSON files and return useful metadata about the structure to help you understand the contents

``` USAGE: analyse-json [OPTIONS] [FILE_PATH]

ARGS: File to process, expected to contain a single JSON object or Newline Delimited (ND) JSON objects

OPTIONS: --explode-arrays Walk the elements of arrays? -g, --glob Process all files identified by this glob pattern -h, --help Print help information --jsonpath JSONpath query to filter/limit the inspection to --merge Include combined results for all files when using glob -n, --lines Limit inspection to the first n lines --parallel Use parallel version of the processing -q, --quiet Silence error logging -V, --version Print version information ```

Installation

via cargo

Prerequisites

You need to have cargo installed https://doc.rust-lang.org/cargo/getting-started/installation.html

Install

cargo install analyse-json

Changelog

Changelog is available on github