xml

package
v4.0.0-...-13a3402 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 13 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]any, 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