Nandan ...
The Graph API is overlaid on top of the ODocument APIs. For any OrientElement (ie: OrientVertex, OrientEdge), you can call getRecord() to get the backing ODocument object. If you look at the ODocument class, there is a much wider selection of methods for moving data to and from JSON text.
Note, JSON is a text data format, with many library implementations that will provide APIs to process text and produce Java objects. While Orient does provide the Jackson 2.2.X jars with their distribution, those APIs are largely used internally and are not incorporated into Orient's public API. Orient can't be expected to support every Java JSON implementation, when the JSON standard describes the text format and not internal binary representations.
- Craig -