static/jsvm/interfaces/types.JSONMap.html
JSONMap defines a map that is safe for json and db read/write.
getmarshalJSONscansetstringvalue
Get retrieves a single value from the current JSONMap[T].
This helper was added primarily to assist the goja integration since custom map types don't have direct access to the map keys (https://pkg.go.dev/github.com/dop251/goja#hdr-Maps_with_methods).
MarshalJSON implements the [json.Marshaler] interface.
Scan implements [sql.Scanner] interface to scan the provided value into the current JSONMap[T] instance.
Set sets a single value in the current JSONMap[T].
This helper was added primarily to assist the goja integration since custom map types don't have direct access to the map keys (https://pkg.go.dev/github.com/dop251/goja#hdr-Maps_with_methods).
String returns the string representation of the current json map.
Value implements the [driver.Valuer] interface.
OSLightDark
Generated using TypeDoc