Commit 44257bf0 authored by TANIGUCHI Takaki's avatar TANIGUCHI Takaki

Imported Upstream version 2.2.4

parent e4e2b519
Metadata-Version: 1.1
Name: demjson
Version: 2.2.3
Version: 2.2.4
Summary: encoder, decoder, and lint/validator for JSON (JavaScript Object Notation) compliant with RFC 7159
Home-page: http://deron.meranda.us/python/demjson/
Author: Deron Meranda
Author-email: deron.meranda@gmail.com
License: GNU LGPL 3.0
Download-URL: http://deron.meranda.us/python/demjson/dist/demjson-2.2.3.tar.gz
Download-URL: http://deron.meranda.us/python/demjson/dist/demjson-2.2.4.tar.gz
Description: The "demjson" module, and the included "jsonlint" script, provide methods
for encoding and decoding JSON formatted data, as well as checking JSON
data for errors and/or portability issues. The jsonlint command/script
......
......@@ -14,6 +14,11 @@ unnecessary whitespace.
What's new
==========
<b>Version 2.2.4</b> fixes problem with jsonlint under Python 3 when
trying to reformat JSON (-f or -F options) and writing the output to
standard output.
<b>Version 2.2.3</b> fixes incorrect return values from the "jsonlint"
command. Also fixes a minor problem with the included unit tests in
certain Python versions.
......
......@@ -120,11 +120,11 @@ r""" A JSON data encoder and decoder.
__author__ = "Deron Meranda <http://deron.meranda.us/>"
__homepage__ = "http://deron.meranda.us/python/demjson/"
__date__ = "2014-11-12"
__version__ = "2.2.3"
__version_info__ = ( 2, 2, 3 ) # Will be converted into a namedtuple below
__date__ = "2015-12-22"
__version__ = "2.2.4"
__version_info__ = ( 2, 2, 4 ) # Will be converted into a namedtuple below
__credits__ = """Copyright (c) 2006-2014 Deron E. Meranda <http://deron.meranda.us/>
__credits__ = """Copyright (c) 2006-2015 Deron E. Meranda <http://deron.meranda.us/>
Licensed under GNU LGPL (GNU Lesser General Public License) version 3.0
or later. See LICENSE.txt included with this software.
......@@ -6022,7 +6022,10 @@ MORE INFORMATION:
self.stderr.write('%s: %s\n' % (pfx, str(err)) )
success = False
else:
self.stdout.write( reformatted )
if hasattr(sys.stdout,'buffer'): # To write binary data rather than strings
self.stdout.buffer.write( reformatted )
else:
self.stdout.write( reformatted )
elif success == self.SUCCESS_OK and verbose_fp:
verbose_fp.write('%sok\n' % pfx)
elif success == self.SUCCESS_WARNING and verbose_fp:
......
Change history for demjson python module.
Version 2.2.4 released 2015-12-22
=================================
* Fix problem with jsonlint under Python 3 when trying to reformat
JSON (-f or -F options) and writing the output to standard output.
Version 2.2.3 released 2014-11-12
=================================
......
News announcements regarding the demjson python module.
See the file CHANGES.txt for more details.
2015-12-22 Release 2.2.4, jsonlint -f stdout bugfix under Python 3.
2014-11-12 Release 2.2.3, jsonlint return value bugfix, unit test fixes.
2014-06-25 Release 2.2.2, Python 3 installation fixes.
2014-06-24 Release 2.2.1, Minor bugfix and html-safe option.
......
......@@ -3133,11 +3133,11 @@ DATA
STRICTNESS_WARN = 'warn'
WARN = 'warn'
__author__ = 'Deron Meranda <http://deron.meranda.us/>'
__credits__ = 'Copyright (c) 2006-2014 Deron E. Meranda <http:/.../lic...
__date__ = '2014-11-12'
__credits__ = 'Copyright (c) 2006-2015 Deron E. Meranda <http:/.../lic...
__date__ = '2015-12-22'
__homepage__ = 'http://deron.meranda.us/python/demjson/'
__version__ = '2.2.3'
__version_info__ = version_info(major=2, minor=2, micro=3)
__version__ = '2.2.4'
__version_info__ = version_info(major=2, minor=2, micro=4)
content_type = 'application/json'
file_ext = 'json'
float_maxexp = 308
......@@ -3150,20 +3150,20 @@ DATA
sorting_methods = {'alpha': 'Sort strictly alphabetically', 'alpha_ci'...
syntax_error = demjson.undefined
undefined = demjson.undefined
version = '2.2.3'
version_info = version_info(major=2, minor=2, micro=3)
version = '2.2.4'
version_info = version_info(major=2, minor=2, micro=4)
VERSION
2.2.3
2.2.4
DATE
2014-11-12
2015-12-22
AUTHOR
Deron Meranda <http://deron.meranda.us/>
CREDITS
Copyright (c) 2006-2014 Deron E. Meranda <http://deron.meranda.us/>
Copyright (c) 2006-2015 Deron E. Meranda <http://deron.meranda.us/>
Licensed under GNU LGPL (GNU Lesser General Public License) version 3.0
or later. See LICENSE.txt included with this software.
......
......@@ -7,9 +7,9 @@ Requires demjson module.
"""
__author__ = "Deron Meranda <http://deron.meranda.us/>"
__homepage__ = "http://deron.meranda.us/python/demjson/"
__date__ = "2014-11-12"
__version__ = "2.2.3"
__credits__ = """Copyright (c) 2006-2014 Deron E. Meranda <http://deron.meranda.us/>
__date__ = "2014-12-22"
__version__ = "2.2.4"
__credits__ = """Copyright (c) 2006-2015 Deron E. Meranda <http://deron.meranda.us/>
Licensed under GNU LGPL (GNU Lesser General Public License) version 3.0
or later. See LICENSE.txt included with this software.
......
# Python package setup script -*- coding: utf-8 -*-
name = 'demjson'
version = '2.2.3'
version = '2.2.4'
import sys
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment