xml

package
v4.24.0-no-otel.2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 7 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