From e7b1d17438e1ac8918680ce3b08daaf1aa4d3c33 Mon Sep 17 00:00:00 2001 From: Antti Ajanki Date: Sun, 29 Jan 2012 15:04:37 +0200 Subject: Bump version and copyright year --- src/libwebvi/webvi/json2xml.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/libwebvi/webvi/json2xml.py') diff --git a/src/libwebvi/webvi/json2xml.py b/src/libwebvi/webvi/json2xml.py index d7c4acd..aa8226d 100644 --- a/src/libwebvi/webvi/json2xml.py +++ b/src/libwebvi/webvi/json2xml.py @@ -1,3 +1,29 @@ +# json2xml.py - Convert JSON into XML +# +# Copyright (c) 2009-2012 Antti Ajanki +# +# 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 3 of the License, or +# (at your option) any later version. +# +# 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, see . + +"""Convert a JSON-serialized object into XML. + +JSON strings and numbers are converted into nodes. + +JSON array [...] is converted into
  • ...
  • + +JSON object {"key": "bar"} is converted into bar +""" + import sys import libxml2 -- cgit v1.2.3