JSONMap defines a map that is safe for json and db read/write.

Type Parameters

  • T

Hierarchy

Methods

  • MarshalJSON implements the [json.Marshaler] interface.

    Returns string | number[]

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

    Parameters

    • value: any

    Returns void

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

    Returns string

  • Value implements the [driver.Valuer] interface.

    Returns any

Generated using TypeDoc