> On 25 Feb 2019, at 22:30, Roelof Wobben <r.wob...@home.nl> wrote:
> 
> Thanks,
> 
> How do I know the next time if I need to use a instance or a class method ?

Instance creation happens on the class side, when your are on the instance 
side, your already have an instance (self) that was already created [this is by 
definition/design], so there is no point in creating a new instance, unless you 
want to make a copy or convert to something else.

> That was the trick.
> 
> Roelof
> 
> 
> 
> Op 25-2-2019 om 22:05 schreef Sven Van Caekenberghe:
>> json := (NeoJSONReader fromString: (ZnEasy get: 
>> 'https://www.rijksmuseum.nl/api/nl/collection?key=14OGzuak&format=json&type=schilderij&toppieces=True
>> ') contents).
>> 
>> Paintings new fromJSON:  json
> 
> 


Reply via email to