Gron is a command line utility that transforms nested JSON data into a flat list of path-value assignments. This process converts hierarchical structures into line-based statements, mapping every leaf value to its absolute path to make the data compatible with standard text-processing tools.
The tool allows for the bidirectional transformation of data, enabling the reconstruction of original nested JSON objects from flattened path assignments. It can ingest JSON from local files, standard input, or remote URLs, with the ability to route network traffic through proxy servers.
The utility supports stream-based processing to handle large inputs and can export flattened data as a continuous stream of JSON objects. It also includes validation to ensure property keys conform to JavaScript naming rules during data transformation.