Discover Packages
github.com/bewuethr/gopl
chapter12
ch12ex13
package
Version:
v0.0.0-...-4489971
Opens a new window with list of versions in this module.
Published: Apr 5, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ch12ex13 provides a means for converting Go objects to and from
S-expressions.
Marshal encodes a Go value in S-expression form. It respects "sexpr" struct
tags for renaming, omitting null values ("omitempty" option) and generally
skipping a field (tag "-"), analogous to JSON struct tags.
func Unmarshal(data []byte , out interface{}) (err error )
Unmarshal parses S-expression data and populates the variable whose address
is in the non-nil pointer out.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.