In the two commands below, both shows the same JSON.
$ http -v httpbin.org/post a:='"あ"'
...
{
"a": "あ"
}
...
$ echo '{"a": "あ"}' | http -v httpbin.org/post
...
{
"a": "あ"
}
...
But actually they send different data:


In the first command, I expect it to show \u3042, but it seems parse the escaped Unicode and show the parsed letter あ.
i.e. it should output:
$ http -v httpbin.org/post a:='"あ"'
...
{
"a": "\u3042"
}
...
$ echo '{"a": "あ"}' | http -v httpbin.org/post
...
{
"a": "あ"
}
...
See also #814.
In the two commands below, both shows the same JSON.
But actually they send different data:
In the first command, I expect it to show
\u3042, but it seems parse the escaped Unicode and show the parsed letterあ.i.e. it should output:
See also #814.