ffnord / alfred-json

Simple alfred client with JSON output
12 stars 12 forks source link

parsing error invaild JSON object '[' or '{' expected #11

Closed aparcar closed 6 years ago

aparcar commented 6 years ago
root@meshrc-gw:/tmp# echo -n "foobar" | alfred -s 80
root@meshrc-gw:/tmp# alfred -r 80
{ "88:57:1e:5d:16:43", "foobar" },
root@meshrc-gw:/tmp# alfred-json -r 80
Warning: invalid JSON object from 88:57:1e:5d:16:43: '[' or '{' expected near 'foobar'
aparcar commented 6 years ago

@ecsv ping?

ecsv commented 6 years ago

pong?

Why I am pinged here (alfred-json is not my imported/exporter)? Why should alfred-json parse the raw data which you've inserted here? This tool seems to operate only on json objects and arrays.

aparcar commented 6 years ago

@ecsv completely brain afk, I'm sorry for the inconvenience...