Preparing search index...
The search index is not available
Welshman Docs
Welshman Docs
@welshman/lib
fetchJson
Function fetchJson
Fetches JSON from URL with options
fetchJson
(
url
:
string
,
opts
?:
FetchOpts
)
:
Promise
<
any
>
Parameters
url
:
string
URL to fetch from
opts
:
FetchOpts
= {}
Fetch options
Returns
Promise
<
any
>
Promise of parsed JSON response
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Welshman Docs
Loading...
Fetches JSON from URL with options