Documentation ¶ Index ¶ func Marshal(v interface{}) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Marshal ¶ func Marshal(v interface{}) ([]byte, error) Marshal returns the RFC 8785 canonical form of v. v is first marshalled and re-parsed with json.Number so the caller can pass a struct, a map or an already-decoded value interchangeably. Types ¶ This section is empty. Source Files ¶ View all Source files jcs.go Click to show internal directories. Click to hide internal directories.