Skip to content

Commit 67a4421

Browse files
chore: ./tools/scripts/update_web_content.sh
1 parent 0bf8b39 commit 67a4421

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

doc/ref/stdlib.html

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1559,6 +1559,41 @@ <h4 id="manifestJsonEx">
15591559
</div>
15601560
</div>
15611561

1562+
<div class="hgroup">
1563+
<div class="hgroup-inline">
1564+
<div class="panel">
1565+
<h4 id="manifestJson">
1566+
std.manifestJson(value)
1567+
</h4>
1568+
</div>
1569+
<div style="clear: both"></div>
1570+
</div>
1571+
</div>
1572+
<div class="hgroup">
1573+
<div class="hgroup-inline">
1574+
<div class="panel">
1575+
<p>
1576+
<em>
1577+
Available since version 0.10.0.
1578+
</em>
1579+
</p>
1580+
<p>
1581+
Convert the given object to a JSON form. Under the covers,
1582+
it calls <code>std.manifestJsonEx</code> with a 4-space indent:
1583+
</p>
1584+
<p>
1585+
Example: <code>std.manifestJson(
1586+
{
1587+
x: [1, 2, 3, true, false, null,
1588+
"string\nstring"],
1589+
y: { a: 1, b: 2, c: [1, 2] },
1590+
})</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>.
1591+
</p>
1592+
</div>
1593+
<div style="clear: both"></div>
1594+
</div>
1595+
</div>
1596+
15621597
<div class="hgroup">
15631598
<div class="hgroup-inline">
15641599
<div class="panel">
@@ -1579,7 +1614,7 @@ <h4 id="manifestJsonMinified">
15791614
</p>
15801615
<p>
15811616
Convert the given object to a minified JSON form. Under the covers,
1582-
it calls <code>std.manifestJsonEx:')</code>:
1617+
it calls <code>std.manifestJsonEx</code>:
15831618
</p>
15841619
<p>
15851620
Example: <code>std.manifestJsonMinified(

0 commit comments

Comments
 (0)