converting to string works for all objects. Is there any way we can store the json object without converting to toString() ???
On Monday, 8 June 2015 15:52:57 UTC+5:30, [email protected] wrote: > > Hi, >> > try this code > > Data data = new Data(); > data.addData("a","b","c"); > > Gson gson = new Gson(); > String json = gson.toJson(data); > > Vertex first = graph.addVertex(null); > first.setProperty("name","anything"); > first.setProperty("allprop",json.toString()); > > 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.
