I tried exporting several org files to HTML without success. That came as a surprise, since I've done that tons of times. The message I was getting on the minibuffer shed some light.
End of file while parsing JSON
After some debugging (a combination of running emacs -q and binary search on my config file) I concluded that the reason boils down to the following line on my config file.
(add-hook 'js-mode-hook 'json-pretty-print-buffer-ordered)
I was able to solve my problem, yes, but I do not get what's going on.
Why is a js hook connected with exporting an org file to html?
How to reproduce the problem:
run emacs -q
run (add-hook 'js-mode-hook 'json-pretty-print-buffer-ordered)
M-x org-html-export-to-html