<sink><null $header.content_type('application/json')>
<hash:foo red 1 blue 2 green 3>
</sink><var --pretty --json $foo>
...would yield
{
{
"green" : "3",
"blue" : "2",
"red" : "1"
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.