xml2json

package module
v0.0.0-...-9885c0b Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type Activity

type Activity struct {
}

func (*Activity) Eval

func (a *Activity) Eval(context activity.Context) (done bool, err error)

func (*Activity) Metadata

func (a *Activity) Metadata() *activity.Metadata

type Input

type Input struct {
	Encoded      bool   `md:encoded`
	Ordered      bool   `md:ordered`
	ContentAsXml string `md:"contentAsXml"`
}

func (*Input) FromMap

func (i *Input) FromMap(values map[string]interface{}) error

FromMap conversion

func (*Input) ToMap

func (i *Input) ToMap() map[string]interface{}

ToMap conversion

type Output

type Output struct {
	ContentAsJson string `md:"contentAsJson"`
}

Output struct for activity output

func (*Output) FromMap

func (o *Output) FromMap(values map[string]interface{}) error

FromMap conversion

func (*Output) ToMap

func (o *Output) ToMap() map[string]interface{}

ToMap conversion

type Settings

type Settings struct {
}

Jump to

Keyboard shortcuts

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