title: How to store Multiple Pieces of Data in jsTree nodes using a Single Attribute?
body: <p>In order to store arbitrary data in <a href="http://www.jstree.com/" rel="nofollow">jsTree</a> nodes, I'm passing a custom attribute (say <strong>node-data</strong>) to the <a href="http://www.jstree.com/documentation/core" rel="nofollow">create_node</a> method. But I need to store more than one piece of data in the single attribute. (For example name,age etc.) What format would be best suited for the value of the node-data attribute? What I'm looking for is a format that will allow easy retrieval of data.</p>
  
  <p>For example we can have a format like "name:John,age:26". But I will have to split the string by using the comma as the delimiter and split at the colon to separate the name and value. Is there a better way to do this?</p>