Umi — API References - v1.3.0
Preparing search index...
umi
createGenericFileFromJson
Function createGenericFileFromJson
createGenericFileFromJson
<
T
>
(
json
:
T
,
fileName
?:
string
,
options
?:
GenericFileOptions
,
)
:
GenericFile
Creates a new
GenericFile
from a JSON object.
Type Parameters
T
Parameters
json
:
T
fileName
:
string
= 'inline.json'
options
:
GenericFileOptions
= {}
Returns
GenericFile
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Umi — API References - v1.3.0
Loading...
Creates a new GenericFile from a JSON object.