Take a look at the JSON documentation for the structure.
I put the IDs on the LI nodes (jstree uses those internally if
provided), so the JSON is:
{
attr : { ... }
state : "some-state", // state won't work inside the "data" object
data : "Some title" // short format
}
As mentioned - check the JSON docs for more :)
Kindest regards,
ivan