Interface JsonArray<T>

JsonArray defines a slice that is safe for json and db read/write.

Type Parameters

  • T

Hierarchy

  • Array<T>
    • JsonArray

Methods

  • MarshalJSON implements the [json.Marshaler] interface.

    Returns string | number[]

  • Scan implements [sql.Scanner] interface to scan the provided value into the current JsonArray[T] instance.

    Parameters

    • value: any

    Returns void

  • Value implements the [driver.Valuer] interface.

    Returns any

Generated using TypeDoc