sed '1s/^/[/; $!s/$/,/; $s/$/]/' in.json > out.json
Last active
January 26, 2022 10:08
-
-
Save gauthamp10/923af58bdd3d400e66b992cb0ccbfa5e to your computer and use it in GitHub Desktop.
Convert json lines to json
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment