Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AleMarshal ¶
AleMarshal wraps Marshal in a Ale compatible function
func AleUnmarshal ¶
AleUnmarshal wraps Unmarshal in a Ale compatible function
func Marshal ¶
Marshal encodes a data.Value to a JSON literal
data.Sequence other than Object -> JSON Array data.Object -> JSON Object data.Integer within int32 range -> JSON Integer data.Integer outside int32 range -> JSON Float (without decimal) data.Float -> JSON Float data.String -> JSON String data.Keywordd -> JSON String data.True/data.False -> JSON True/False
func RegisterQualified ¶
RegisterQualified register alejson package under the `json` package name
func Unmarshal ¶
Unmarshal input into an ale Value following this rules:
JSON Array -> data.Vector JSON Object -> data.Object JSON Object Keys -> data.Keyword Int values within int32 range -> data.Integer Int values outside of int32 range -> data.Float Float values -> data.Float True/False -> data.True/data.False String -> String
Types ¶
This section is empty.