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

[suggestion] print array value #29

Open
TonyStark opened this issue Jun 4, 2022 · 0 comments
Open

[suggestion] print array value #29

TonyStark opened this issue Jun 4, 2022 · 0 comments

Comments

@TonyStark
Copy link

example_json:[{"token":"147","symbol":"abcd"},{"token":"92","symbol":"efgh"},{"token":"118","symbol":"ijkl"}]

jj -l [0] it print first/one array value`

$ cat tmp | ../jj -l [0]
{"token":"147","symbol":"abcd"}

jj -l [0,1,2] it print first 3 array value

$ cat tmp | ../jj -l [0,1,2]
{"token":"147","symbol":"abcd"}
{"token":"92","symbol":"efgh"}
{"token":"118","symbol":"ijkl"}

So my suggestion is can we print sequence of array value?
like if i want to print value of array 5 to array 25 so what to do?
can we do like that jj -l [5-25] or something else

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

No branches or pull requests

1 participant