zeed
Preparing search index...
fetchJson
Function fetchJson
fetchJson
<
T
=
Json
>
(
url
:
string
|
URL
,
fetchOptions
?:
fetchOptionsType
,
fetchFn
?:
(
input
:
RequestInfo
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
,
)
:
Promise
<
T
|
undefined
>
Fetch and parse JSON. Returns the parsed JSON object or
undefined
on error.
Type Parameters
T
=
Json
Parameters
url
:
string
|
URL
fetchOptions
:
fetchOptionsType
= {}
fetchFn
:
(
input
:
RequestInfo
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
= fetch
Returns
Promise
<
T
|
undefined
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
zeed
Loading...
Fetch and parse JSON. Returns the parsed JSON object or
undefinedon error.