March 16, 2019
9:24 p.m.
On 16 Mar 2019, at 21:17, Roelof Wobben <r.wobben@home.nl> wrote:
Op 16-3-2019 om 18:16 schreef Sven Van Caekenberghe:
imageUrl1 := levelsJson detect: [ :item | item name = 'z4' ]. imageUrl := imageUrl1 tiles first url.
nope,
when I do this I see this error messsage :
MessageNotUnderstood: Dictionary>>name
Roelof
Yes, but you have to parse your JSON differently, either doing NeoJSONObject fromString: .. or, alternatively you have to set the #mapClass, like this (NeoJSONReader on: string readStream) mapClass: NeoJSONObject; propertyNamesAsSymbols: true; next. I don't know how you invoke NeoJSON right now, but you have to change that slightly.