I tried storing the JSON object as string and it works fine.
But storing as a JSON object as object itself shows serialization error.
Code :
Vertex v = graph.addVertex(null);
JSONObject json = new JSONObject();
json.put("name","someone");
json.put("address","somewhere");
v.setProperty("data", json);
( v.setProperty("data",json.toString() --- this works fine )
This code shows serialization error.. Cannot serialize JSONObject!
Any method to store JSON Objects as Objects without converting to string?
Thanks.
--
---
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.