You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performs an HTTP GET request to the specified URL and returns a result record. The `error` field indicates whether the request failed, and the `value` field contains either the response body or an error message.
122
122
123
123
---
124
124
125
-
# Module: `io`
125
+
##Module: `io`
126
126
127
127
## `fn input(): String`
128
128
@@ -142,15 +142,15 @@ Writes the string representation of each provided argument to standard output, f
142
142
143
143
---
144
144
145
-
# Module: `json`
145
+
##Module: `json`
146
146
147
-
## `fn parse(json: String): Record`
147
+
## `fn parse(json: String): Record { error: Bool, value: Record }`
148
148
149
-
Parses the given JSON string and returns a result record containing the parsed value. The record indicates whether parsing succeeded and includes either the resulting value or an error message.
149
+
Parses the given JSON string and returns a result record. The `error` field indicates whether parsing failed, and the `value` field contains either the parsed JSON value as a record or an error message.
0 commit comments