On Wed, 3 Feb 2016, Brett Viren wrote:
Hi,I have some shell command line program that spits out JSON. I want Org execute that command from a source block (of type "sh") and have the result displayed as another source block of type "json".
Try `:wrap src json': #+BEGIN_SRC sh :exports both :results value code :wrap src json echo '{"foo":"bar", "baz":"quax"}' #+END_SRC #+RESULTS: #+BEGIN_src json {"foo":"bar", "baz":"quax"} #+END_src HTH, Chuck