Home / Function/ CodeGraphStatsFromJSONTyped() — typescript-sdk Function Reference

CodeGraphStatsFromJSONTyped() — typescript-sdk Function Reference

Architecture documentation for the CodeGraphStatsFromJSONTyped() function in CodeGraphStats.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  fefe0da0_1f15_ea40_0c0f_83be033f47ee["CodeGraphStatsFromJSONTyped()"]
  303e101f_576e_591a_bf19_bb12db362546["CodeGraphStats.ts"]
  fefe0da0_1f15_ea40_0c0f_83be033f47ee -->|defined in| 303e101f_576e_591a_bf19_bb12db362546
  ff3309b9_53a6_94bb_b9a6_5982aab485c8["CodeGraphStatsFromJSON()"]
  ff3309b9_53a6_94bb_b9a6_5982aab485c8 -->|calls| fefe0da0_1f15_ea40_0c0f_83be033f47ee
  style fefe0da0_1f15_ea40_0c0f_83be033f47ee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/CodeGraphStats.ts lines 89–105

export function CodeGraphStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphStats {
    if (json == null) {
        return json;
    }
    return {
        
        'nodeCount': json['nodeCount'] == null ? undefined : json['nodeCount'],
        'relationshipCount': json['relationshipCount'] == null ? undefined : json['relationshipCount'],
        'nodeTypes': json['nodeTypes'] == null ? undefined : json['nodeTypes'],
        'relationshipTypes': json['relationshipTypes'] == null ? undefined : json['relationshipTypes'],
        'filesProcessed': json['filesProcessed'] == null ? undefined : json['filesProcessed'],
        'classes': json['classes'] == null ? undefined : json['classes'],
        'functions': json['functions'] == null ? undefined : json['functions'],
        'types': json['types'] == null ? undefined : json['types'],
        'processingTimeMs': json['processingTimeMs'] == null ? undefined : json['processingTimeMs'],
    };
}

Domain

Subdomains

Frequently Asked Questions

What does CodeGraphStatsFromJSONTyped() do?
CodeGraphStatsFromJSONTyped() is a function in the typescript-sdk codebase, defined in src/models/CodeGraphStats.ts.
Where is CodeGraphStatsFromJSONTyped() defined?
CodeGraphStatsFromJSONTyped() is defined in src/models/CodeGraphStats.ts at line 89.
What calls CodeGraphStatsFromJSONTyped()?
CodeGraphStatsFromJSONTyped() is called by 1 function(s): CodeGraphStatsFromJSON.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free