您好,欢迎光临本网站![请登录][注册会员]  
文件名称: json_py库文件 json-py-3_4
  所属分类: Python
  开发工具:
  文件大小: 20kb
  下载次数: 0
  上传时间: 2013-11-22
  提 供 者: mikewan********
 详细说明: json_py库文件 如果你的python是2.5的话,需要手工加入该文件。 -------------------------------------------- *ABOUT* Tested with Python 2.4 on Windows and Linux. json.py is a simple, pure-python implementation of a JSON (http://json.org) reader and writer. JSON is used to exchange data across systems written in various languages. It is particularly suited to dynamic languages like Python, Javascript, etc. JSON = Javascript Object Notation implies it is suitable for AJAX applications that exchange data from servers to Javascript applications ru nning on web browser clients. The JSON format is simpler than XML and this implementation in Python is correspondingly simple. jsontests.py accompanies the implementation with unit tests demonstrating correctness. There are more than 40 tests that all run. There is one other Python implementation of JSON I have found (http://json-rpc.org/pyjsonrpc/index.xhtml). My sources shares nothing in common with this other one. I started this new project because of the incompleteness and complexity of the existing implementation. Jim Washington has implemented minjson which is in this same repository. While json-py is intended to be a simple implementation that could be translated easily into other languages, minjson is intended to use efficient Python idioms. json-py passes all the tests in jsontest. minjson does not. See jsontest.py for instructions on running the tests with minjson. *TODO* Unicode characters have been somwhat tested. Need to add the ability to choose encoding when writing json strings. Reads and writes strings all-at-once. Does not operate on streams of characters. The internal _StringGenerator class could be modified without too much trouble to do this. Boundary conditions, etc. The tests written so far have met my own immediate needs for developing and using the JSON reader and writer. More thorough tests are needed to demonstrate completeness. There is no control over writing decimal numbers, e.g. number of places. The current behavior is to use Python's %f as-is. *CONTACT* mailto:patrickdlogan@stardecisions.com ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: json-py-3_4 minjson.py json.py
 输入关键字,在本站1000多万海量源码库中尽情搜索: