buildContentTypeParser() — fastify Function Reference
Architecture documentation for the buildContentTypeParser() function in content-type-parser.js from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD 8a1f473e_4fd9_aa0e_e5e9_e87c9817c86f["buildContentTypeParser()"] b47c11f3_fe3b_64dc_0f58_921e5921ec45["content-type-parser.js"] 8a1f473e_4fd9_aa0e_e5e9_e87c9817c86f -->|defined in| b47c11f3_fe3b_64dc_0f58_921e5921ec45 251437cc_c0a4_5fd8_ead1_3da0578dcbb0["ContentTypeParser()"] 8a1f473e_4fd9_aa0e_e5e9_e87c9817c86f -->|calls| 251437cc_c0a4_5fd8_ead1_3da0578dcbb0 style 8a1f473e_4fd9_aa0e_e5e9_e87c9817c86f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
lib/content-type-parser.js lines 335–342
function buildContentTypeParser (c) {
const contentTypeParser = new ContentTypeParser()
contentTypeParser[kDefaultJsonParse] = c[kDefaultJsonParse]
contentTypeParser.customParsers = new Map(c.customParsers.entries())
contentTypeParser.parserList = c.parserList.slice()
contentTypeParser.parserRegExpList = c.parserRegExpList.slice()
return contentTypeParser
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does buildContentTypeParser() do?
buildContentTypeParser() is a function in the fastify codebase, defined in lib/content-type-parser.js.
Where is buildContentTypeParser() defined?
buildContentTypeParser() is defined in lib/content-type-parser.js at line 335.
What does buildContentTypeParser() call?
buildContentTypeParser() calls 1 function(s): ContentTypeParser.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free