Reported by ragb on 2013-03-05 15:38
It would be good to add the json module to NVDA's bundled python modules to avoid bundling it in every add-on that may need it. Further than communicating with web services, it can be used to store configuration and other data for add-ons (Pickle works too, but json is language-agnostic). From my testing it adds about 40kb to the distribution (probably less when compressed).
I believe it is just a matter of adding the json module to setup.py. If agreed I can make the change. If not, it is not a big deal, I can simply bundle the code when needed.
Reported by ragb on 2013-03-05 15:38
It would be good to add the
jsonmodule to NVDA's bundled python modules to avoid bundling it in every add-on that may need it. Further than communicating with web services, it can be used to store configuration and other data for add-ons (Pickle works too, but json is language-agnostic). From my testing it adds about 40kb to the distribution (probably less when compressed).I believe it is just a matter of adding the
jsonmodule to setup.py. If agreed I can make the change. If not, it is not a big deal, I can simply bundle the code when needed.