sveltekit-service-manager - v1.1.0
Preparing search index...
server
json
Function json
json
(
data
:
unknown
,
init
?:
ResponseInit
)
:
Response
Create a JSON response.
Notes:
Does not set Content-Length (byte length is runtime-dependent; let the platform handle it)
Safely handles null/undefined and objects with toJSON()
Parameters
data
:
unknown
init
:
ResponseInit
= {}
Returns
Response
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
sveltekit-service-manager - v1.1.0
Loading...
Create a JSON response.
Notes: