Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- text: "Children",
- value: 1,
- children: [
- {
- parent: 1,
- text: "Baby 3-5",
- value: 11,
- children: [{ parent: 11, text: "Baby 3-6", value: 12 }],
- },
- { text: "Baby 6-8", value: 12, parent: 1 },
- { text: "Baby 9-12", value: 13, parent: 1 },
- ],
- },
- {
- text: "Children1",
- value: 111,
- children: [
- {
- parent: 111,
- text: "Baby 13-51",
- value: 1,
- children: [{ parent: 1, text: "Baby 23-46", value: 122 }],
- },
- { text: "Baby 61-821", value: 12, parent: 111 },
- { text: "Baby 91-122", value: 131, parent: 111 },
- ],
- },
- ]
Add Comment
Please, Sign In to add comment