xj2s: github.com/wicast/xj2s Index | Files

package xj2s

import "github.com/wicast/xj2s"

Index

Package Files

json.go xj2s.go xml.go

func Json2Struct Uses

func Json2Struct(jdata []byte, RootName string, Nesting bool) string

func JsonPath2SrtructLinesNoNesting Uses

func JsonPath2SrtructLinesNoNesting(paths []string) (map[string]StructNode, map[string]map[string]StructNode)

func RootDatas2Struct Uses

func RootDatas2Struct(RootName string, RootLines map[string]StructNode, RestStructs map[string]map[string]StructNode) string

func Xml2Struct Uses

func Xml2Struct(xdata []byte, Nesting bool) string

func XmlPath2SrtructLinesNoNesting Uses

func XmlPath2SrtructLinesNoNesting(paths []string) (string, map[string]StructNode, map[string]map[string]StructNode)

type StructNode Uses

type StructNode struct {
    Name string
    Type string
    Path string
}

Package xj2s imports 3 packages (graph) and is imported by 1 packages. Updated 2018-01-08. Refresh now. Tools for package owners.