mia icon indicating copy to clipboard operation
mia copied to clipboard

Powershell JSON input doesn't parse as expected

Open anowell opened this issue 9 years ago • 0 comments

algo run user/algo -d '["foo", "bar"]' doesn't parse as JSON (more obvious when using -j) also tried:

algo run user/algo -d "[`"foo`", `"bar`"]"

however putting the input on STDIN works just fine: echo '["foo", "bar"]' | algo run user/algo -D -

This only seems to be related to powershell, so this may be a subtle string escaping issue, but we really should figure out how to make this intuitive to work with and document it.

anowell avatar Mar 07 '16 18:03 anowell