PartialJsonResult
Namespace: Vercel.AI.Util
public sealed class PartialJsonResultOutcome of Parse(string).
Inheritance: object
Constructors
Section titled “Constructors”PartialJsonResult(JsonNode?, string)
Section titled “PartialJsonResult(JsonNode?, string)”public PartialJsonResult(JsonNode? value, string state)Creates a parse outcome.
Parameters
| Name | Type | Description |
|---|---|---|
value |
JsonNode | |
state |
string |
Properties
Section titled “Properties”public string State { get; }undefined-input, successful-parse, repaired-parse, or failed-parse.
Value: string
public JsonNode? Value { get; }Parsed value, or null when parsing failed or the input was undefined.
Value: JsonNode
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product