I am working on the U of the CRUD part of my Teapot/Voyage REST interface, and found that I cannot get the voyageId to be delivered as part of the REST response..
in order to do RUD, I will need that in the feed.
the problem is that NeoJSON uses the instance variables to JSON encode the object.
to circumvent this, i made an instance variable called ���id���.. and made an accessor like so:
id
^ self voyageId value
so i can do something like
station id -> ���23434234234243423432���
but when i inspect the object, or send it back from voyage, id is nil..
rather than mirror voyage���s _id, i would like access to it in JSON encoding, but i can see that might be a problem..
any ideas?
thanks!
----
peace,
sergio
photographer, journalist, visionary