Hi,

Finally i found a much more acceptable solution :)

neoJsonMapping: mapper
        "Map the receiver from a json with <NeoJSONObjectMapping> <mapper>"
        mapper for: self do: [ :mapping |
                mapping mapAccessor: #locator mutator: #setLocator: to: 
'booking'.
        ].

setLocator: aDictionary
        locator := aDictionary at: '@locator'

regards,
bruno



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to