xml2json

package module
v0.0.0-...-15c8823 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: MIT Imports: 7 Imported by: 0

README

XML to JSON Go Library

Converts XML to JSON.

Documentation

Index

Constants

View Source
const (
	String = iota
	Integer
	Float
	Array
	Object
)

Variables

This section is empty.

Functions

func Convert

func Convert(b []byte) ([]byte, error)

Types

type Node

type Node struct {
	Type          int
	Name          string
	Value         string
	ValueInt      int64
	ValueFloat    float64
	Parent        *Node
	Children      []Node
	ChildrenNames map[string]int
}

Jump to

Keyboard shortcuts

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