Results for “Std.Json.Json”
23 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Json.Json
A JSON value.
- Std.App.Otlp.document
&Std.App.Otlp.Exporter -> &Array[Std.App.Trace.Span] -> Std.Json.JsonThe document a collector is sent.
- Std.Http.Server.Lambda.serve
&Std.Http.Server.Lambda.Runtime -> fn(Std.Json.Json) -> Result[Str, Str] -> Result[(), Std.Http.Server.Lambda.LambdaError]Take invocations and answer them until the platform stops the process.
- Std.Http.Server.Lambda.serveEnvironment
fn(Std.Json.Json) -> Result[Str, Str] -> Result[(), Std.Http.Server.Lambda.LambdaError]Serve the interface this process was started under.
- Std.Http.Server.Reply.jsonValue
Int -> Std.Json.Json -> Std.Http.ResponseEncode the standard JSON model at the response boundary.
- Std.Json.asBool
&Std.Json.Json -> Option[Bool]The truth value a value holds, or
None. - Std.Json.asInt
&Std.Json.Json -> Option[Int]The whole number a value holds, or
None. - Std.Json.asList
&Std.Json.Json -> Option[Array[Std.Json.Json]]The members a list holds, or
None. - Std.Json.asObject
&Std.Json.Json -> Option[Array[(Str, Std.Json.Json)]]The entries an object holds, or
None. - Std.Json.asText
&Std.Json.Json -> Option[Str]The text a value holds, or
Nonewhen it holds something else. - Std.Json.at
&Std.Json.Json -> Int -> Option[Std.Json.Json]The value at a position in a list, or
None. - Std.Json.decode
Str -> Result[Std.Json.Json, Std.Json.JsonError]A value read from text, or what stopped the reader.
- Std.Json.encode
&Std.Json.Json -> StrA value written as compact text, with no spaces between its parts.
- Std.Json.encodePretty
&Std.Json.Json -> StrA value written across lines, each level indented by two spaces.
- Std.Json.explain
&Std.Json.JsonError -> StrA reader's failure explained in the terms a caller can report.
- Std.Json.field
&Std.Json.Json -> Str -> Option[Std.Json.Json]The value stored under a key, or
Nonewhen the value is not an object or - Std.Json.foldLines
Str -> T -> fn(T, Std.Json.Json) -> T -> Result[T, Std.Json.JsonLinesError]Combine every value of a JSON Lines file, one value to a line, holding one
- Std.Json.isNull
&Std.Json.Json -> BoolWhether a value is null.
- Std.Json.keys
&Std.Json.Json -> Array[Str]Every key an object has, in the order they were written.
- Std.Json.list
&Array[Std.Json.Json] -> Std.Json.JsonA list built from values.
- Std.Json.object
&Array[(Str, Std.Json.Json)] -> Std.Json.JsonAn object built from key and value pairs.
- Std.Json.path
&Std.Json.Json -> &Array[Str] -> Option[Std.Json.Json]The value reached by following a path of object keys.
- Std.Json.withField
&Std.Json.Json -> Str -> Std.Json.Json -> Std.Json.JsonAn object with one key added or replaced.
