# GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.ReportItemBaseCoder.ReportItem

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Core_Rdl_Persistence_Json_ReportItemBaseCoder_ReportItem_" data-uid="GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.ReportItemBaseCoder.ReportItem*">ReportItem Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Rdl_Persistence_Json_ReportItemBaseCoder_ReportItem_" data-uid="GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.ReportItemBaseCoder.ReportItem*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rdl_Persistence_Json_ReportItemBaseCoder_ReportItem__1_GrapeCity_ActiveReports_Core_Rdl_Persistence_Json_JsonObjectCoderBuilder___0__System_String_" data-uid="GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.ReportItemBaseCoder.ReportItem``1(GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonObjectCoderBuilder{``0},System.String)">ReportItem&lt;T&gt;(JsonObjectCoderBuilder&lt;T&gt;, string)</h4>
<div class="markdown level1 summary"><p>Configures a <a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonObjectCoderBuilder-1.html">JsonObjectCoderBuilder&lt;TObject&gt;</a> to handle a specific report item type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static JsonObjectCoderBuilder&lt;T&gt; ReportItem&lt;T&gt;(this JsonObjectCoderBuilder&lt;T&gt; coder, string typeName) where T : ReportItem, new()</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="GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonObjectCoderBuilder-1.html">JsonObjectCoderBuilder</a>&lt;T&gt;</td>
      <td><span class="parametername">coder</span></td>
      <td><p>The current <a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonObjectCoderBuilder-1.html">JsonObjectCoderBuilder&lt;TObject&gt;</a> to configure.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">typeName</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the name of the report item type.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonObjectCoderBuilder-1.html">JsonObjectCoderBuilder</a>&lt;T&gt;</td>
      <td><p>The configured <a class="xref" href="GrapeCity.ActiveReports.Core.Rdl.Persistence.Json.JsonObjectCoderBuilder-1.html">JsonObjectCoderBuilder&lt;TObject&gt;</a> instance.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td><p>The type of the report item, which must derive from
<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
