资 源 简 介
Provides for the conversion of XML to JSON using a single XSL file and config.xml file. Supports BadgerFish convention or complete customization of JSON output.
Provides the following features:
BadgerFish Convention
Custom attribute property prefix and suffix
Custom text property prefix and suffix
Custom property and property value wrappers
Datatyping based on any or exact match using standard xpath expressions. Support for date, datetime, boolean, number, native JavaScript function and strings.
Global escaping of result characters based on config xml settings.
Also provides the ability to optimize resulting JSON with configuration parameters such as:
Flatten simple elements into parent object
Treat simple elements in collections as simple arrays.
Check for duplication child nodes conflicting with parent attribute names and assign suffix to property name.
Drop root xml elem