Only "simple" types can (currently) be stored in a dictionary.  The
best solution is probably to design a "dictionary-like" interface (but
using methods instead of '[]' notation, for example.  You would then
implement this interface in Python, leaning heavily on the builtin
dictionary type.  You will then be able to pass objects implementing
this interface to JS, and have JS use the methods in your interface to
access the dictionary.

thanx mark.
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to