swimlane/ngx-ui

View on GitHub
projects/swimlane/ngx-ui/src/lib/pipes/json-tree/json-to-tree.util.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function jsonToTree has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const jsonToTree = (value: any, label?: string): TreeNode => {
  const type = getType(value);

  let children: any[];
  let expandable = false;

    There are no issues that match your filters.

    Category
    Status