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

  • String returns the string representation of the current json array.

    Returns string

  • Value implements the [driver.Valuer] interface.

    Returns any

Generated using TypeDoc