There's no "file". The myJson variable will hold the JSON object, but only within the scope of the completefunc function, as you have things defined.
Since I haven't worked with Dynatree, I have no idea how it wants the JSON to be structured. If you figure it out, please post it back here if you can, as I'm sure others would be interested.
M.
Since I haven't worked with Dynatree, I have no idea how it wants the JSON to be structured. If you figure it out, please post it back here if you can, as I'm sure others would be interested.
M.