I have a server side with javascript function one parameter called Data.

The value of Data is {"test":5}. This is passed in as a string.

in the javascript function I want to access the value of test.

return Data.test is not working

either is 

var temp = JSON.stringify(Data);
return temp.test


Any help here how to convert string to JSON and access the object properties

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to