I try to use the SpaceTree from JIT and i realy need some help. The problem is when try to load the tree from anothe array.
json.php
<?php
$temp = array(
    'id' => "node02",
    'name' => "roey",
    'data' => '',
    'children' => json_encode(array(
        'id' => "node13",
        'name' => "Some Node",
        'data' => '',
        'children' => '',
    )),
);
echo json_encode($temp);
my spacetree.js:
....
function init(){
$.getJSON('json.php', function(json){
    var json = json;
....
st.loadJSON(json);
The JSON that i receive is as expected, but the script dont load it.
Does anyone see the problem and can help me with that?
