When I load an individual object, all is well:
c = load( "http://server.com:8080/Toot/1" )
[object Object]
js>s( c )
({"id":"http://server.com:8080/Toot/1",
"name":"Buddy",
"masterNodeUpdateTimer":{"$ref":"http://server.com:8080/Timer/1"}
})
But, when I do it as a query on a class (since I initially don't know the
id!), it doesn't quite get the id right ('?' instead of '/' ?), nor does it
get references contained in properties correct.
js>ts = load( "http://server.com:8080/Toot" )
[object Array of 1 elements]
js>t = ts[ 0 ]
[object Object]
js>t.id
http://server.com:8080/Toot?0
js>s( t.masterNodeUpdateTimer )
May 23, .. org.persvr.remote.JSONSerializer$Serialization getValueString
INFO: Can not output an object of type class
org.mozilla.javascript.EcmaError to JSON
"Can not serialize class org.mozilla.javascript.EcmaError"
Original issue reported on code.google.com by davidthi...@gmail.com on 23 May 2009 at 8:42
Original issue reported on code.google.com by
davidthi...@gmail.com
on 23 May 2009 at 8:42