资源说明:Utility functions for serializing and deserializing structs to files in JSON format.
PACKAGE
package jsonutil
import "github.com/wcspromoteam/jsonutil"
FUNCTIONS
func DecodeFromFile(filename string, object interface{}) (e os.Error)
Decodes a JSON representation of a stuct into that struct from the file specified.
func EncodeToFile(filename string, object interface{}) (e os.Error)
Encodes the specified object to the specified file in JSON format, creating the file in none exists.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
