Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 449 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 449 Bytes

Usage

Dependencies

Run JSON Flattener

  1. Clone the repo
git clone https://github.com/ndhanushkodi/jsonflattener.git
cd jsonflattener
  1. Compile jsonflattener
go build .
  1. jsonflattener accepts JSON input on stdin. To run it with the provided example file, run:
cat examplefile | ./jsonflattener 

Tests

cd jsonflattener
go test ./flatten