On this page

Parser options for JSON modules.

Type:number

The depth of json dependency flagged as exportInfo.

Type:boolean

Allow named exports for json of object type.

jsonParserOptions.parse(input): string | number | boolean | Buffer<ArrayBufferLike> | JsonObjectFs | JsonValueFs[] | null
Attributes
input:string
Returns:string | number | boolean | Buffer<ArrayBufferLike> | JsonObjectFs | JsonValueFs[] | null

Function to parser content and return JSON.