Forum Discussion

Aravind711's avatar
Aravind711
New Contributor II
8 years ago

JSON Generation using JSON Generator

Hi All,

I need the below structure for creating a Tree structure in Javascript, When i execute the below structure using JSON generator (Edit JSON) am not getting any output neither error

[{

“text”: “Years”,

	"nodes": [{
		"text": $year,
		"nodes": [{
				"text": $quarter,
				"nodes": [{
					"text": $month
				}]
			}

		]
	}]
}

]

Can anyone please explain what am i missing in it.

Thanks,
Aravind

6 Replies

  • dwhansen-cbg's avatar
    dwhansen-cbg
    Contributor

    @dmiller I hit the /users/ endpoint in the public API using an admin user and still could not see the “organizations” data, which is where you can see if a user is an org admin or not.