Documentation
¶
Index ¶
- func CallWithJSON(f interface{}, jsonBytes []byte) ([]byte, error)
- func CallWithXML(f interface{}, xmlBytes []byte) ([]byte, error)
- func MarshalArgs(args ...interface{}) ([]byte, error)
- func MarshalXMLArgs(args ...interface{}) ([]byte, error)
- func UnmarshalArgs(jsonBytes []byte) ([]interface{}, error)
- func UnmarshalXMLArgs(xmlBytes []byte) ([]interface{}, error)
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallWithJSON ¶
CallWithJSON Calls a function f with arguments from a JSON byte stream
func CallWithXML ¶
CallWithXML Calls a function f with arguments from a XML byte stream
func MarshalArgs ¶
MarshalArgs converts its arguments in order into the json argument format compatible with go-json-call. Float values that are precise ints are converted to integers, unfortunately.
func MarshalXMLArgs ¶
MarshalXMLArgs converts a list of arguments into XML
func UnmarshalArgs ¶
UnmarshalArgs converts a json argument format into a slice of How to handle ambiguous json encodings (1.0 (go) -> 1 (json) -> 1 or 1.0 (go))
func UnmarshalXMLArgs ¶
UnmarshalXMLArgs converts XML into a slice of go data
Types ¶
Click to show internal directories.
Click to hide internal directories.