Documentation
¶
Overview ¶
Package json provides a conversion between json and struct.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFromFile ¶
ConvertFromFile is convert json file to T.
ex) t, err := json.ConvertFromFile[T]("./test.json")
func ConvertFromString ¶
ConvertFromString is convert json string to T.
ex) t, err := json.ConvertFromString[T](data)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.