Search code examples
jsonrestgetorgchart

GetOrgChart JSON format


A little startup I am doing work for is searching for a JavaScript Org Chart, and we believe we'd like to use "GetOrgChart" from getorgchart.com.

We definitely have a working back-end already that provides data to the front-end via RESTful services and provides JSON data.

We know the GetOrgChart can be loaded with data from various sources, and in this case we'd like to know what format the JSON has to be in?

Are there any examples out there of how the JSON should look like?

We'd definitely like to download and register this product, but that is one of the questions we'd like to get answered.

Thanks!


Solution

  • On their demos page, you can click the 'Get HTML Code' link (upper right, below the site header) which opens the javascript used to render the demo, including the format of the data.