Symbol’s function definition is void: json-parse-buffer
ir33k opened this issue · 1 comments
When running devdocs-browser-install-doc
interactive function I'm getting error "Symbol’s function definition is void: json-parse-buffer". It's caused by line:
emacs-devdocs-browser/devdocs-browser.el
Line 331 in d370267
Looks like my Emacs don't have json-parse-buffer
function. I'm on latest Emacs 28.0.50. Issue can be reproduced with emacs -Q
so my personal configuration is not a problem.
Is this because new Emacs don't have this function build in or I'm missing some package that should be required?
I found source of error. Since Emacs 27 native support for JSON was added. It requires "Jansson library". I didn't have it while building my Emacs. After installing missing library with apt install libjansson-dev
and building Emacs again issue was gone.