title: Error: no such function: json_each in SQLite with JSON1 installed
body: <p>I've installed SQLite3 with JSON1 through brew:</p>
  
  <pre><code>brew install sqlite3 --with-json1 --with-fts5
  </code></pre>
  
  <p>Version:</p>
  
  <pre><code>3.15.2 2016-11-28 19:13:37 bbd85d235f7037c6a033a9690534391ffeacecc8
  </code></pre>
  
  <p>When running a query, some functions work fine, such as <code>json_extract</code>:</p>
  
  <pre><code>sqlite&gt; SELECT json_extract(Body, '$.issue.fields.labels') FROM Event WHERE json_extract(Body, '$.issue.fields.labels') != '[]';
  
  ["foo","bar","baz"]
  </code></pre>
  
  <p>However, when I try to use <code>json_each</code> or <code>json_tree</code>, it fails:</p>
  
  <pre><code>sqlite&gt; SELECT json_each(Body, '$.issue.fields.labels') FROM Event WHERE json_extract(Body, '$.issue.fields.labels') != '[]';
  
  Error: no such function: json_each
  </code></pre>
  
  <p>The <code>Body</code> field in the <code>Event</code> table is a valid JSON string:</p>
  
  <pre><code>{"issue":{"fields":{"labels": ["foo","bar","baz"]}}}
  </code></pre>
  
  <p>And the <code>labels</code> value is an array.</p>
  
  <p>I've read the documentation (and looked at the <a href="https://sqlite.org/json1.html#examples_using_json_each_and_json_tree_" rel="nofollow noreferrer">json_each examples</a>), searched the interwebs, but couldn't find any additional requirements to enable this.</p>
  
  <p>What am I doing wrong, or: how do I reap the benefits from json_each/json_tree?</p>