DomainClassificationResponseToJSON() — typescript-sdk Function Reference
Architecture documentation for the DomainClassificationResponseToJSON() function in DomainClassificationResponse.ts from the typescript-sdk codebase.
Entity Profile
Dependency Diagram
graph TD c2955261_5b7d_ea71_941e_a1221323be2a["DomainClassificationResponseToJSON()"] 955dc16b_7f47_35af_4ddd_10aca9358cb7["DomainClassificationResponse.ts"] c2955261_5b7d_ea71_941e_a1221323be2a -->|defined in| 955dc16b_7f47_35af_4ddd_10aca9358cb7 d44aa01d_90bd_b033_8856_f1f2205ec667["DomainClassificationResponseAsyncToJSON()"] d44aa01d_90bd_b033_8856_f1f2205ec667 -->|calls| c2955261_5b7d_ea71_941e_a1221323be2a 0ae2b883_5a7b_0a3e_aae7_aeed8a50187a["DomainClassificationResponseGraphToJSON()"] c2955261_5b7d_ea71_941e_a1221323be2a -->|calls| 0ae2b883_5a7b_0a3e_aae7_aeed8a50187a 5e30a8a7_9031_d402_28fc_d62853df630c["CodeGraphEnvelopeMetadataToJSON()"] c2955261_5b7d_ea71_941e_a1221323be2a -->|calls| 5e30a8a7_9031_d402_28fc_d62853df630c dc405f79_1fde_0131_779e_2e032cd9f71f["ClassificationStatsToJSON()"] c2955261_5b7d_ea71_941e_a1221323be2a -->|calls| dc405f79_1fde_0131_779e_2e032cd9f71f style c2955261_5b7d_ea71_941e_a1221323be2a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/models/DomainClassificationResponse.ts lines 192–210
export function DomainClassificationResponseToJSON(value?: DomainClassificationResponse | null): any {
if (value == null) {
return value;
}
return {
'runId': value['runId'],
'graph': DomainClassificationResponseGraphToJSON(value['graph']),
'metadata': CodeGraphEnvelopeMetadataToJSON(value['metadata']),
'domains': ((value['domains'] as Array<any>).map(DomainSummaryToJSON)),
'relationships': ((value['relationships'] as Array<any>).map(DomainRelationshipToJSON)),
'fileAssignments': ((value['fileAssignments'] as Array<any>).map(DomainFileAssignmentToJSON)),
'functionAssignments': ((value['functionAssignments'] as Array<any>).map(DomainFunctionAssignmentToJSON)),
'unassignedFunctions': ((value['unassignedFunctions'] as Array<any>).map(UnassignedFunctionToJSON)),
'classAssignments': ((value['classAssignments'] as Array<any>).map(DomainClassAssignmentToJSON)),
'functionDescriptions': value['functionDescriptions'] == null ? undefined : ((value['functionDescriptions'] as Array<any>).map(FunctionDescriptionToJSON)),
'stats': ClassificationStatsToJSON(value['stats']),
};
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does DomainClassificationResponseToJSON() do?
DomainClassificationResponseToJSON() is a function in the typescript-sdk codebase, defined in src/models/DomainClassificationResponse.ts.
Where is DomainClassificationResponseToJSON() defined?
DomainClassificationResponseToJSON() is defined in src/models/DomainClassificationResponse.ts at line 192.
What does DomainClassificationResponseToJSON() call?
DomainClassificationResponseToJSON() calls 3 function(s): ClassificationStatsToJSON, CodeGraphEnvelopeMetadataToJSON, DomainClassificationResponseGraphToJSON.
What calls DomainClassificationResponseToJSON()?
DomainClassificationResponseToJSON() is called by 1 function(s): DomainClassificationResponseAsyncToJSON.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free