package
Version:
v0.0.0-...-028f1de
Opens a new window with list of versions in this module.
Published: Feb 1, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Marshal(obj interface{}) (result string, err error)
Marshal marshals an object to a json string.
Returns empty string if marshal fails.
func Unmarshal(jsonContent string, dest interface{}) (err error)
Unmarshal unmarshals the content in string format to an object.
func UnmarshalFile(filePath string, dest interface{}) (content []byte, err error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.