Re: [Pharo-users] [Teapot and Voyage] sending over the voyageId

2017-02-10 Thread sergio ruiz
Forgot to mention, i have this on my class.. neoJsonMapping: mapper mapper for: self do: [ :mapping | mapping mapInstVars ] will dig into this a bit more today.. thanks! On February 10, 2017 at 2:04:14 AM, Norbert Hartl (norb...@hartl.name) wrote: NeoJSON is not bound to use instVars

Re: [Pharo-users] [Teapot and Voyage] sending over the voyageId

2017-02-09 Thread Norbert Hartl
NeoJSON is not bound to use instVars. Look at the method mapAccessor: and friends. Norbert > Am 09.02.2017 um 22:50 schrieb sergio ruiz : > > > 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

[Pharo-users] [Teapot and Voyage] sending over the voyageId

2017-02-09 Thread sergio ruiz
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 objec