OrientDB supports the notion of typed JSON through the "@fieldTypes" 
property. There is some documentation here: 
http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#json-data-type-handling-and-schema-less-mode
 

For instance, in the snippet below, the field "x" can be treated as double 
using "@fieldTypes".

{ "@class":"Account", "x": 100.341123124,"@fieldTypes": "x=d" }

How can we do the same thing when "x" is in an embedded field as below? I 
have tried a few combinations but cannot get it to work. I am 
using community-2.0-M2.

{ "@class":"Account", "a": { "x": 100.341123124 } }

-- 

--- 
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.

Reply via email to