projects/swimlane/ngx-ui/src/lib/pipes/json-tree/json-to-tree.util.ts
Function jsonToTree
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const jsonToTree = (value: any, label?: string): TreeNode => {
const type = getType(value);
let children: any[];
let expandable = false;