Hello,
*I am create javascript function using studio.var result = q.command(
"sql",mySQLCommand);*
here result is below json:
[
{
"@type": "d",
"@rid": "#-2:1",
"@version": 0,
"vKRId": "#23:0",
"uRId": "#21:0",
"@fieldTypes": "vKRId=x,uRId=x"
}
]
I want read vKRId and uRId values from result variable. I tried using
JSON.parse or JSON.stringfy, it gives below error
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found
What is best practice to parse query result?
--
---
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.