2021-11-10 20:45:32 +00:00
|
|
|
accessing
|
|
|
|
collectionFromRepository: jsonFileUrl language: isoCode
|
|
|
|
| rawData |
|
|
|
|
rawData := STON fromString: jsonFileUrl asUrl retrieveContents.
|
2022-07-22 23:49:27 +00:00
|
|
|
^ rawData collect: [:assetDict |
|
|
|
|
(assetDict at: #Assets) collect: [ :assetSubdict |
|
|
|
|
self new fromDictionary: assetSubdict; language: isoCode
|
|
|
|
].
|
|
|
|
]
|