[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#725233: ITP: python-rxjson -- JSON RX Schema validation tool



On 10/03/2013 03:29 PM, Dominik George wrote:
> 
> 
> Thomas Goirand <zigo@debian.org> schrieb:
>> Package: wnpp
>> Severity: wishlist
>> Owner: Thomas Goirand <zigo@debian.org>
> 
>> * Package name    : python-rxjson
>>  Version         : 0.2
>>  Upstream Author : Remy Hubscher <hubscher.remy@gmail.com>
>> * URL             : https://pypi.python.org/pypi/rxjson
>> * License         : GPL-2
>>  Programming Lang: Python
>>  Description     : JSON RX Schema validation tool
> 
>> This program is free software; you can redistribute it and/or modify it
>> under
>> the terms of the GNU General Public License as published by the Free
>> Software
>> Foundation; either version 2 of the License.
>> .
>> This program is distributed in the hope that it will be useful, but
>> WITHOUT
>> ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
>> FITNESS
>> FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
>> details.
>> .
>> You should have received a copy of the GNU General Public License along
>> with
>> this program; if not, write to the Free Software Foundation, Inc., 51
>> Franklin
>> St, Fifth Floor, Boston, MA 02110-1301 USA
>> .
>> On Debian systems, the complete text of the GNU General Public License
>> v2
>> (GPL) can be found in /usr/share/common-licenses/GPL-2.
> 
> Your long description looks a bit like a GPL paragraph, I do not see how that reflects the package's purpose?
> 
> -nik
> 

Woops, sorry. Here's the correct description:

 When adding an API to your web service, you have to choose how to
 encode the data you send across the line. XML is one common choice for
this, but it can grow arcane and cumbersome pretty quickly. Lots of
webservice authors want to avoid thinking about XML, and instead choose
formats that provide a few simple data types that correspond to common
data structures in modern programming languages. In other words, JSON
and YAML.
 .
 Unfortunately, while these formats make it easy to pass around complex
data structures, they lack a system for validation. XML has XML Schemas
and RELAX NG, but these are complicated and sometimes confusing
standards. They're not very portable to the kind of data structure
provided by JSON, and if you wanted to avoid XML as a data encoding,
writing more XML to validate the first XML is probably even less appealing.
 .
 Rx is meant to provide a system for data validation that matches up
with JSON-style data structures and is as easy to work with as JSON itself.


Reply to: