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
  d27f1797_2d3b_64d6_503a_51cf727c63f2["CodeGraphStatsFromJSONTyped()"]
  29dd2404_31f9_8816_20fa_ac7567848664["CodeGraphStatsFromJSON()"]
  29dd2404_31f9_8816_20fa_ac7567848664 -->|calls| d27f1797_2d3b_64d6_503a_51cf727c63f2
  style d27f1797_2d3b_64d6_503a_51cf727c63f2 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.
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