Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reading JSON array elements #91

Merged
merged 2 commits into from
Aug 26, 2019
Merged

Support reading JSON array elements #91

merged 2 commits into from
Aug 26, 2019

Conversation

cylon
Copy link
Contributor

@cylon cylon commented Aug 1, 2019

I had a use case to create large objects inside of an array that broke the command line length, but the content would only be pulled in as a literal string (escaped quotes etc.).

This allows jo -a :file1.json :file2.json. I chose the : to be consistent with the element:=child.json. This does also now allow element=:child.json in addition to element:=child.json which feels more consistent with element=@file1 and element=%file1.

@jpmens jpmens merged commit 37a8a1b into jpmens:master Aug 26, 2019
@jpmens
Copy link
Owner

jpmens commented Aug 26, 2019

Merged, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants