package
Version:
v0.5.5
Opens a new window with list of versions in this module.
Published: Nov 8, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AsJson(data interface{}) []byte
AsJson Takes any struct and serializes it into a byte array
func FromJson(data []byte, target interface{})
FromJson Takes a json byte array and unmarshalls it into a given object. Pointer has to be passed
Source Files
¶
Click to show internal directories.
Click to hide internal directories.