package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Sep 15, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IsJSONString checks if a given string is a valid JSON string.
It returns true if the string is a valid JSON string, otherwise false.
func ToJSON(data interface{}) string
ToJSON converts a given request object into a JSON string.
It returns an empty string if there is an error during JSON marshaling.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.