src/maven-build/xml.js
/**
     * XML to JSON object
     * @param data xml string
     * @returns {Promise} resolve json
     */
XML to JSON object
@param data xml string
@returns {Promise} resolve json
XML to JSON object @param data xml string @returns { Promise } resolve json
toJSON (data) {
        return Promise.resolve(convert.xml2js(data, {
            compact: true
        }))
    }
toJSON ( data ) { return Promise . resolve ( convert . xml2js ( data , { compact : true } ) ) }
XML to JSON object
 @param data xml string
 @returns {Promise} resolve json
XML to JSON object @param data xml string @returns { Promise } resolve json