Read some simple JSON and calculate a value

ajson

echo '{{3}}' | ajson '{{2 * pi * $}}'

click the source code to copy