xml

package
v4.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package xml is a temporary way to convert XML to JSON. This package is only necessary because github.com/clbanning/mxj has global configuration. If we are able to configure a decoder etc at the API level then this package can be removed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToMap

func ToMap(xmlBytes []byte, cast bool) (map[string]interface{}, error)

ToMap parses a byte slice as XML and returns a generic structure that can be serialized to JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL