jython中的可移植json模块 [英] Portable json module in jython

查看:184
本文介绍了jython中的可移植json模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用jython创建一个python脚本,我需要使用jython 2.5中存在的json模块.你们有没有人知道一种将模块包含为单个文件的方法,该模块可以随脚本一起移动,而无需将其安装在主机的jython上.我打算使用在pypi

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

如果有帮助.

推荐答案

尝试 http://opensource.xhaus .com/projects/jyson

使用Java编写的,用于jython 2.5的快速JSON编解码器.

A fast JSON codec for jython 2.5, written in java.

这篇关于jython中的可移植json模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆