Skip to content

API Documentation / @pinia/colada / _queryEntry_toJSON

Variable: _queryEntry_toJSON()

ts
const _queryEntry_toJSON: <TData, TError>(entry) => UseQueryEntryNodeValueSerializd<TData, TError>;

UseQueryEntry method to serialize the entry to JSON.

Type Parameters

TData

TData

TError

TError

Parameters

entry

UseQueryEntry<TData, TError>

entry to serialize

Returns

UseQueryEntryNodeValueSerializd<TData, TError>

Serialized version of the entry

Released under the MIT License.