xml2json

0.0.1

A Swift wrapper for C++ library that converts XML to JSON
wacumov/xml2json

What's New

0.0.1

2020-07-19T14:39:17Z

xml2json

Status Swift 5.2 Swift Package Mac & Linux

A Swift wrapper for C++ library that converts XML to JSON.

Installation

Swift Package Manager

Swift Package Manager is a tool for managing the distribution of Swift code. Once you have your Swift package set up, adding xml2json as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/wacumov/xml2json", from: "0.0.1")
]

Usage

Just read contents of an XML file to a string and pass it to the converter.

import xml2json

let jsonString = XMLToJSON.convert(xmlString)

Description

  • Swift Tools 5.2.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Apr 24 2024 22:23:45 GMT-0900 (Hawaii-Aleutian Daylight Time)