Parser options for JSON modules.
Type:
numberThe depth of json dependency flagged as exportInfo.
Type:
booleanAllow named exports for json of object type.
jsonParserOptions.parse(input): string | number | boolean | Buffer<ArrayBufferLike> | JsonObjectFs | JsonValueFs[] | null
Attributes
input:
stringReturns:
string | number | boolean | Buffer<ArrayBufferLike> | JsonObjectFs | JsonValueFs[] | nullFunction to parser content and return JSON.