Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadJSONDescriptor ¶
ReadJSONDescriptor reads a .JSON file. Behaves as Go's built-in encoding/json.Unmarshal() but accepts a file descriptor instead of a byte slice.
func ReadJSONFile ¶
ReadJSONFile reads a .JSON file. Behaves as Go's built-in encoding/json.Unmarshal() but accepts a file path instead of a byte slice.
func WriteJSONDescriptor ¶
WriteJSONFile writes a .JSON file. Behaves as Go's built-in encoding/json.MarshalIndent() but accepts a file descriptor in addition to the data.
func WriteJSONFile ¶
WriteJSONFile writes a .JSON file. Behaves as Go's built-in encoding/json.MarshalIndent() but accepts a file path in addition to the data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.