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