|
From: | stardiviner |
Subject: | Re: [O] Feature request: results type json |
Date: | Thu, 29 Mar 2018 11:44:32 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
You can wrap result value into another language src block like this: #+begin_src
ruby :results code :wrap src shell Same for JSON by changed `:wrap src shell` into `wrap json`. But you need the value is JSON. I saw you mentioned want ob-sql support JSON return type. I
guess it need to be implemented in ob-sql. Or you can use `:post` to convert
result to JSON. Or use `advice-add` to
add a function to convert result to
JSON. On 03/29/2018 06:30 AM, John Kitchin
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |