Open xostap opened 6 years ago
I was wondering if someone has a working example of how to nest dictionaries. I need to create a dictionary "MK" with 2 keys "BC" (Array) and BG (Array) as part of "Annot" dictionary
Annot (Dictionary) ..... MK (Dictionary) BC (Array) 0.90916 0.90916 0.90916 BG (Array) 0.90916 0.90916 0.90916 .....
This script should help you to achieve your request.
https://github.com/galkahana/HummusJS/blob/8c8c540f72a5f49875f15f0b94ede23c53fb413d/tests/ModifyingExistingFileContent.js#L39
https://github.com/galkahana/HummusJS/blob/8c8c540f72a5f49875f15f0b94ede23c53fb413d/tests/ModifyingExistingFileContent.js#L189
I was wondering if someone has a working example of how to nest dictionaries. I need to create a dictionary "MK" with 2 keys "BC" (Array) and BG (Array) as part of "Annot" dictionary