From b151a90f7485a95857993ba8011e47632243ec48 Mon Sep 17 00:00:00 2001
From: wingbot <109207340+monadabot@users.noreply.github.com>
Date: Tue, 22 Aug 2023 18:54:42 +0300
Subject: [PATCH] feat(docs): update docs (#581)
feat(docs): update docs
Updates the Wing docs. See details in [workflow run].
[Workflow Run]: https://github.com/winglang/docsite/actions/runs/5941124197
------
*Automatically created via the "update-docs" workflow*
---
.../02-std/api-reference.md | 38 ++++++++++++++++---
1 file changed, 33 insertions(+), 5 deletions(-)
diff --git a/versioned_docs/version-latest/04-standard-library/02-std/api-reference.md b/versioned_docs/version-latest/04-standard-library/02-std/api-reference.md
index 5ca1f9033..04f1df5ee 100644
--- a/versioned_docs/version-latest/04-standard-library/02-std/api-reference.md
+++ b/versioned_docs/version-latest/04-standard-library/02-std/api-reference.md
@@ -940,13 +940,11 @@ to parse as Json.
##### `stringify`
```wing
-Json.stringify(json: any, indent?: num);
+Json.stringify(json: any, options?: JsonStringifyOptions);
```
Formats Json as string.
-(JSON.stringify($args$))
-
###### `json`Required
- *Type:* any
@@ -955,9 +953,9 @@ to format as string.
---
-###### `indent`Optional
+###### `options`Optional
-- *Type:* num
+- *Type:* JsonStringifyOptions
---
@@ -2285,4 +2283,34 @@ Year.
---
+### JsonStringifyOptions
+
+Options for stringify() method.
+
+#### Initializer
+
+```wing
+let JsonStringifyOptions = JsonStringifyOptions{ ... };
+```
+
+#### Properties
+
+| **Name** | **Type** | **Description** |
+| --- | --- | --- |
+| indent
| num
| Indentation spaces number. |
+
+---
+
+##### `indent`Required
+
+```wing
+indent: num;
+```
+
+- *Type:* num
+
+Indentation spaces number.
+
+---
+