Back to Pocketbase

Interface JSONArray<T>

static/jsvm/interfaces/types.JSONArray.html

latest1.2 KB
Original Source

Interface JSONArray<T>

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

Type Parameters

T

Hierarchy

  • Array<T>
    • JSONArray

Index

Methods

marshalJSONscanstringvalue

Methods

marshalJSON

  • marshalJSON(): string | number[]

MarshalJSON implements the [json.Marshaler] interface.

Returns string | number[]

scan

  • scan(value): void

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

Parameters

value: any

Returns void

string

  • string(): string

String returns the string representation of the current json array.

Returns string

value

  • value(): any

Value implements the [driver.Valuer] interface.

Returns any

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc