# C1.JsonNet.JsonSetting.IsJavascriptFormat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_JsonNet_JsonSetting_IsJavascriptFormat_" data-uid="C1.JsonNet.JsonSetting.IsJavascriptFormat*">IsJavascriptFormat Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_JsonNet_JsonSetting_IsJavascriptFormat_" data-uid="C1.JsonNet.JsonSetting.IsJavascriptFormat*"></a>
<h4 id="C1_JsonNet_JsonSetting_IsJavascriptFormat" data-uid="C1.JsonNet.JsonSetting.IsJavascriptFormat">IsJavascriptFormat</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicates whether to serialize to javascript format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool IsJavascriptFormat { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property IsJavascriptFormat As Boolean</code></pre>
</div>
<h5 id="C1_JsonNet_JsonSetting_IsJavascriptFormat_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If some property type is string in server side, but its type is Function in client side,
when IsJavascriptFormat is set to true, it will be serialzed to a string without quote.
For example, the value of property A is &quot;btnClick&quot;, it will be serialized to &quot;{a: btnClick}&quot;.
Otherwise, it will be serialized to &quot;{a: 'btnClick'}&quot;.
Normally when the page is loaded in the first time and the properties are transfered to the client side, this property should be set to True.
For callback, it will be set to false.</p>
</div>
</div>
