Documentation ¶
Overview ¶
Package encoding provides some useful functions for encoding and decoding objects
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
Base64Decode decode encodeStr using base64, and then use json to convert to obj.
func Base64Encode ¶
Base64Encode convert obj to json string, and then encode it with base64.
func ObjectToMap ¶
func ObjectToMap(obj interface{}) map[string]interface{}
ObjectToMap convert an object to a map[string]interface{}
Types ¶
type JsonPath ¶
JsonPath object for json-path encoding and decoding
type Node ¶
func NewRootNode ¶
func NewRootNode() *Node
Click to show internal directories.
Click to hide internal directories.