Skip to content

caplin/XMLJsonUtility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XMLJsonUtility

This is Caplin's fork of the this open source library that provides two functions to convert XML to JSON and JSON to XML.

Origins

We wrapped the two functions in it's own namespace to avoid introducing two new global functions. We also formatted the code to be (more or less) written in our style. We added JsDoc documentation, extracted inner functions so they are not redefined every time the two functions are called. And we added Jasmine tests. Apart from that, the code is the same as the original.

The original code was created in 2006 by Stefan Goessner and can be found here.

How to use

First include the caplin/core/bootstrap.js file which will define the caplin.core root namespace object, then include whichever file you wish to use.

How to run the tests

Open SpecRunner.html in your browser. This will run the tests in spec/ with the Jasmine testing framework.

License

Licensed under LGPL/2.1. See the LICENSE file for details.

About

Caplin's fork of a JSON<->XML library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published