Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeToBytes ¶
EncodeToJSON is similar to Encode, but return a []byte{}
c3po.EncodeToJSON(struct{Name:"Jão", Age:99}) => []byte{"{'Name':'jão', 'Age':99}"}
func EncodeToBytesWithIndent ¶
func EncodeToString ¶
EncodeToString return a string representation if ok, else empty string
c3po.EncodeToString(struct{Name:"Jão", Age:99}) => "{'Name':'jão', 'Age':99}"
func EncodeToStringIndent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.