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

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 instance.

    Parameters

    • value: any

    Returns void

  • Value implements the [driver.Valuer] interface.

    Returns any

Generated using TypeDoc