Hi... how can i import/export as json. I've tried using using dat

Hi…
how can i import/export as json. I’ve tried using using

data = orgchart.getData(); to Import and
orgchart.setData(data); to Export… Both are not working… Can you suggest me how to implement this…

Actually i am using the Version 1.0.0