class webpack.JsonParser extends ParserDefines the parser state base type used by this module.
new JsonParser(): JsonParserReturns:
<JsonParser>Attributes
options:
<JsonParserOptions>parse(source, state): voidsource{string | Buffer| PreparsedAst} state<ParserState>- Returns:
<ParserState>
Parses the provided source and updates the parser state.