OllamaOptions.toJson

Serializes only non-default fields to a JSONValue object.

Builds a JSONValue[string] AA (safe D operation) then wraps it.

struct OllamaOptions
const @safe
JSONValue
toJson
()

Return Value

Type: JSONValue

A JSONValue object containing only the explicitly-set fields.

Meta