Skip to main content
1 of 3

In Elisp, how can I insert a org-babel JSON block into a variable with noweb?

In Elisp, I want to insert the contents of the "gazonk" JSON block into a variable.

#+name: gazonk
#+begin_src json
{
  xyzzy "
}
#+end_src

, but I just get "End of file during parsing"

#+BEGIN_SRC elisp :noweb yes
(setq example-data "<<gazonk>>")
#+END_SRC

Obviously, it's not valid elisp, but I want to insert the verbatim contents;)