I am making a python script with jython and I need to use the json module that dosent exist in jython 2.5 . Do any of you guys know a way to include a module as a single file that can be moved around with the script without installing it on the host's jython . I was planning on using the simple json module i found on pypi
If it helps.
Try http://opensource.xhaus.com/projects/jyson
A fast JSON codec for jython 2.5, written in java.
Jython 2.7.0 now includes the standard library json module, which is reasonably fast now that it has been ported to Java. I ran the JSON benchmarks in the standard Python benchmark suite:
Other options like GSon, Jackson, or Jyson would likely be faster, given the API of the json module.