Re: [Pharo-users] Understanding ZnJSONReader mapping?

2018-06-07 Thread Tim Mackinnon
Its sort of an awkward format, so maybe mapping is just not the way to go (but I’m still keen to learn how to properly use it when it is appropriate). For the record (if anyone is interested), an example json sample is here

Re: [Pharo-users] Understanding ZnJSONReader mapping?

2018-06-07 Thread Tim Mackinnon
Hey thanks - so maybe there are more legs to this - although it’s the decoding I’m currently interested in (but I’m sure encoding will come up at some point on my journey). So it seems that my mapper can have multiple entries (that bit I had missed - although seems obvious in retrospect now).

Re: [Pharo-users] Understanding ZnJSONReader mapping?

2018-06-07 Thread Esteban A. Maringolo
On 07/06/2018 17:21, Tim Mackinnon wrote: > Hi - is there something I can read/study to get a bit more familiar with Json > mapping? I have read the Pharo enterprise book (chapter 8). > > I’ve been using NeoJSONObject but then it occurred to me that maybe I could > map better domain objects

[Pharo-users] Understanding ZnJSONReader mapping?

2018-06-07 Thread Tim Mackinnon
Hi - is there something I can read/study to get a bit more familiar with Json mapping? I have read the Pharo enterprise book (chapter 8). I’ve been using NeoJSONObject but then it occurred to me that maybe I could map better domain objects directly and simplify things. However it seems that the