title: How to read contents of the file programmatically in Emacs?
body: <p>I want to read config.json file inside .emacs, how can I do this?</p>
  
  <pre><code>(require 'json)
  (setq config (json-read-from-string (read-file "config.json")))
  </code></pre>