Home  >  Support  >  Support Forum  >  Has anybody imported simplejson or json modules for use on the connectportx4 (Python version 2.4.3)?
Notice! We've recently migrated to using a new forum, we hope you enjoy it. If you are an existing member and this is your first time visiting our new forum, please reset your password to be able to sign in.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Has anybody imported simplejson or json modules for use on the connectportx4 (Python version 2.4.3)?

0 votes
asked Sep 23, 2013 in Python by Tom_123456 New to the Community (1 point)
recategorized Sep 23, 2013 by Tom_123456

Please log in or register to answer this question.

1 Answer

0 votes
Yes, we run simplejson on X4s, but it took a bit of hacking to make it work on such old Python.

I had to replace conditional operators (x = A if z else B ) in encoder.py and probably add lots of dependencies from the Python 2.3.4 libraries.
answered Oct 8, 2013 by tomcat-engineering New to the Community (1 point)
Your M2M Expert™for Businessfor Developers
Newsletter SignupYouTubeGoogle+FacebookCopyright © 1996-2013 Digi International Inc. All rights reserved. Legal
...