[Ironpython-users] How to get lib json in ironpython

Lin LIU pommelin6fr at gmail.com
Thu Apr 3 17:26:23 CEST 2014

Hello everyone,

    I'm a newbie of IronPython and I'm a python user since 3 years.
Actually, I work on a .NET based project in which I use IronPython to call
the CS libs. I encountered a problem when I wanted get lib Json in
ironpython and then I put the following codes in the beginning of the
script and it works.
import sys
sys.path.append("C:\Program Files\IronPython 2.7\Lib")
import json

But this solution impose the installation of ironpython.

Otherwise, putting the IronPython.dll, IronPython.Module.dll in my app
directory can also help me to get some python libs, ex: re. But this
doesn"t work to get lib json.

I wonder if anyone of you has the same experience as mine and already has
found a DLL which contains json.

I hear that using .NET libs in script python can also get json, but I've no
idea which lib to use and how to use it. Anyone can help me. Thanks a lot.

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140403/7fd2e2aa/attachment.html>

More information about the Ironpython-users mailing list