Hi Norman,
try this function with the parameter record
= {"rid":"123","val":{"name":"Norman","phone":"Home"}}
var obj = JSON.parse(record);
var rid= obj.rid;
var val = obj.val;
var name= val.name;
var phone= val.phone;
return name;
Regards,
Alessandro
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.