6 lines
247 B
Smalltalk
6 lines
247 B
Smalltalk
|
accessing
|
||
|
collectionFromRepository: jsonFileUrl language: isoCode
|
||
|
| rawData |
|
||
|
rawData := STON fromString: jsonFileUrl asUrl retrieveContents.
|
||
|
^ (rawData at: 'Assets') collect: [:assetDict |
|
||
|
self new fromDictionary: assetDict; language: isoCode ]
|