Skip to content

stuioco/convert-xml-to-json-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

convert-xml-to-json-util

Converts an XML file to a JSON string consisting only of arrays and outputs to the console

The JSON that gets generated from the XML will consist only of arrays to support looping within the {{#each}} block used by the templating engine within Hoverfly. It will be exactly the same as the JSON that gets generated in Hoverfly with the jsonpathfromxml function.

This software utilises a fork of https://github.com/basgys/goxml2json with a modification to reflect everything as an array so that the resulting json can be iterated over using {{#each}}.

Usage: convertxml "xml file name"

About

Converts an XML file to a JSON string consisting only of arrays and outputs to the console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy