# C1.DataConnector.JsonStreamParser.Parse

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_DataConnector_JsonStreamParser_Parse_" data-uid="C1.DataConnector.JsonStreamParser.Parse*">Parse Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_DataConnector_JsonStreamParser_Parse_" data-uid="C1.DataConnector.JsonStreamParser.Parse*"></a>
<h4 id="C1_DataConnector_JsonStreamParser_Parse_System_IO_Stream_System_Text_Encoding_" data-uid="C1.DataConnector.JsonStreamParser.Parse(System.IO.Stream,System.Text.Encoding)">Parse(Stream, Encoding)</h4>
<div class="markdown level1 summary"><p>Takes a Newtonsoft.Json.JsonTextReader instance as argument and starts a streaming parsing process.
Every each successfully parsed object, an IParser.FireItem() event will be triggered.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Parse(Stream streamData, Encoding encoding)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Parse(streamData As Stream, encoding As Encoding)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">streamData</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.encoding">Encoding</a></td>
      <td><span class="parametername">encoding</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
