Skip to content

Commit

Permalink
chore: ./tools/scripts/update_web_content.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbartholomew committed Apr 16, 2024
1 parent 0bf8b39 commit 67a4421
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion doc/ref/stdlib.html
Original file line number Diff line number Diff line change
Expand Up @@ -1559,6 +1559,41 @@ <h4 id="manifestJsonEx">
</div>
</div>

<div class="hgroup">
<div class="hgroup-inline">
<div class="panel">
<h4 id="manifestJson">
std.manifestJson(value)
</h4>
</div>
<div style="clear: both"></div>
</div>
</div>
<div class="hgroup">
<div class="hgroup-inline">
<div class="panel">
<p>
<em>
Available since version 0.10.0.
</em>
</p>
<p>
Convert the given object to a JSON form. Under the covers,
it calls <code>std.manifestJsonEx</code> with a 4-space indent:
</p>
<p>
Example: <code>std.manifestJson(
{
x: [1, 2, 3, true, false, null,
"string\nstring"],
y: { a: 1, b: 2, c: [1, 2] },
})</code> yields <code>"{\n \"x\": [\n 1,\n 2,\n 3,\n true,\n false,\n null,\n \"string\\nstring\"\n ],\n \"y\": {\n \"a\": 1,\n \"b\": 2,\n \"c\": [\n 1,\n 2\n ]\n }\n}"</code>.
</p>
</div>
<div style="clear: both"></div>
</div>
</div>

<div class="hgroup">
<div class="hgroup-inline">
<div class="panel">
Expand All @@ -1579,7 +1614,7 @@ <h4 id="manifestJsonMinified">
</p>
<p>
Convert the given object to a minified JSON form. Under the covers,
it calls <code>std.manifestJsonEx:')</code>:
it calls <code>std.manifestJsonEx</code>:
</p>
<p>
Example: <code>std.manifestJsonMinified(
Expand Down

0 comments on commit 67a4421

Please sign in to comment.