Sept. 1, 2014
1:41 a.m.
Sean P. DeNigris wrote
How do I handle mapping this second field with NeoJSONReader? Thanks
I ended up with FlickApiResponse class>>neoJsonMapping: mapper mapper for: self customDo: [ :mapping | mapping decoder: [ :dict | self new status: (dict at: 'stat'); data: (dict at: dict keys first); yourself ] ] but maybe there's a more elegant way? ----- Cheers, Sean -- View this message in context: http://forum.world.st/NeoJSON-Mapping-name-changing-field-tp4775545p4775547.... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.