Back to godoc.org

Package xmltojson

v0.0.0-...-8be9c10
Latest Go to latest

The latest major version is .

Published: Sep 6, 2016 | License: Apache-2.0 | Module: github.com/kevinswiber/apigee-hcl

Index

func DecodeHCL

func DecodeHCL(item *ast.ObjectItem) (interface{}, error)

DecodeHCL converts an HCL ast.ObjectItem into a XMLToJSON object.

type XMLToJSON

type XMLToJSON struct {
	XMLName        string `xml:"XMLToJSON" hcl:"-"`
	policy.Policy  `hcl:",squash"`
	DisplayName    string          `xml:",omitempty" hcl:"display_name"`
	Source         string          `xml:",omitempty" hcl:"source"`
	OutputVariable string          `xml:",omitempty" hcl:"output_variable"`
	Options        *xmlJSONOptions `xml:",omitempty" hcl:"options"`
	Format         string          `xml:",omitempty" hcl:"format"`
}

XMLToJSON represents an <XMLToJSON/> element.

Documentation: http://docs.apigee.com/api-services/reference/xml-json-policy

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier