Replies: 2 comments
-
An interesting idea. Usually I just pipe the json out to |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's right, I very often want the result in my one-liner, and sometimes
I'll pipe to `jq` and pipe again to another perl or ojo. It's fine, of
course, but every time I ask myself, "could this be better?"
Mojolicious can do so much heavy lifting, and the `get` command can point
to my json, so I'm often reaching for a Mojolicious way to do something
similar but with a resource that isn't a URL.
…On Fri, Sep 24, 2021, 4:56 PM Joel Berger ***@***.***> wrote:
An interesting idea. Usually I just pipe the json out to jq but I imagine
there are circumstances where you want the result back in your one-liner.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1851 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD6K6RMW5ORRAZRKBJO2UDUDTXX3ANCNFSM5EWZTUXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes it's useful to point to a specific JSON value using a pointer:
Could we add Mojo::JSON::Pointer to "ojo" to help out a little bit?
J
function doesn't exist. Default to<STDIN>
unless a JSON string or Mojo::File object is passed.Beta Was this translation helpful? Give feedback.
All reactions