xml

package
v0.0.0-...-33e34f0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 8 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