Guest User

Untitled

a guest
Sep 26th, 2017
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.20 KB | None | 0 0
  1. [
  2.     {
  3.         "id": 1,
  4.         "name": "123",
  5.         "parent_id": null,
  6.         "depth": 0,
  7.         "children": [
  8.             {
  9.                 "id": 4,
  10.                 "name": "test2",
  11.                 "parent_id": 1,
  12.                 "depth": 1,
  13.                 "children": []
  14.             },
  15.             {
  16.                 "id": 6,
  17.                 "name": "test4",
  18.                 "parent_id": 1,
  19.                 "depth": 1,
  20.                 "children": []
  21.             }
  22.         ]
  23.     },
  24.     {
  25.         "id": 2,
  26.         "name": "1234",
  27.         "parent_id": null,
  28.         "depth": 0,
  29.         "children": [
  30.             {
  31.                 "id": 5,
  32.                 "name": "test3",
  33.                 "parent_id": 2,
  34.                 "depth": 1,
  35.                 "children": [
  36.                     {
  37.                         "id": 7,
  38.                         "name": "testtest",
  39.                         "parent_id": 5,
  40.                         "depth": 2,
  41.                         "children": []
  42.                     }
  43.                 ]
  44.             }
  45.         ]
  46.     },
  47.     {
  48.         "id": 3,
  49.         "name": "test1",
  50.         "parent_id": null,
  51.         "depth": 0,
  52.         "children": []
  53.     }
  54. ]
Advertisement
Add Comment
Please, Sign In to add comment