StructuredValue
A type-safe representation of JSON values.
Declaration
enum StructuredValueOverview
let name: StructuredValue = "Alice"
let score: StructuredValue = 4.5
let tags: StructuredValue = ["swift", "evaluation"]This type is not @Generable due to its recursive array/dictionary structure. For generable argument specifications, use ArgumentValue instead.
Topics
Primitive values
StructuredValue.string(_:)StructuredValue.int(_:)StructuredValue.double(_:)StructuredValue.bool(_:)StructuredValue.null