<?xml version="1.0"?>
<page xmlns="http://projectmallard.org/1.0/"
      type="topic"
      style="function"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/experimental/ui/"
      id="bson_json_data_reader_ingest">
  <info>
    <link type="guide" xref="bson_json_reader_t" group="function"/>
  </info>
  <title>bson_json_data_reader_ingest()</title>

  <section id="synopsis">
    <title>Synopsis</title>
    <synopsis><code mime="text/x-csrc"><![CDATA[void
bson_json_data_reader_ingest (bson_json_reader_t *reader,
                              const uint8_t      *data,
                              size_t              len);
]]></code></synopsis>
  </section>

  <section id="parameters">
    <title>Parameters</title>
    <table>
      <tr><td><p><code>reader</code></p></td><td><p>A <link xref="bson_json_reader_t">bson_json_reader_t</link>.</p></td></tr>
      <tr><td><p><code>data</code></p></td><td><p>A uint8_t containing data to feed.</p></td></tr>
      <tr><td><p><code>len</code></p></td><td><p>A size_t containing the length of <code>data</code>.</p></td></tr>
    </table>
  </section>

  <section id="description">
    <title>Description</title>
    <p>Feed data to a memory based json reader.</p>
  </section>

</page>
