les" class="anchor"></a><code><span class="keyword">val</span> string_of_profiler_samples : <span>?&#8288;len:int</span> <span>&#45;&gt;</span> <a href="index.html#type-profiler_samples">profiler_samples</a> <span>&#45;&gt;</span> string</code></dt><dd><p>Serialize a value of type <a href="index.html#type-profiler_samples"><code>profiler_samples</code></a> into a JSON string.</p><dl><dt>parameter len</dt><dd><p>specifies the initial length of the buffer used internally. Default: 1024.</p></dd></dl></dd></dl