Documentation ¶ Index ¶ Variables func GetInterface() js.Value func Stringify(opts ...interface{}) (string, error) type Json func NewFromJSObject(obj js.Value) (Json, error) func Parse(data string) (Json, error) func (i Json) Json_() Json func (j Json) Map() interface{} type JsonFrom Constants ¶ This section is empty. Variables ¶ View Source var ( //ErrNotImplemented ErrNotImplemented error ErrNotImplemented = errors.New("Browser not implemented JSON") ErrNotAJson = errors.New("Object is not a Json") ) Functions ¶ func GetInterface ¶ func GetInterface() js.Value GetInterface get the JS interface func Stringify ¶ func Stringify(opts ...interface{}) (string, error) Types ¶ type Json ¶ type Json struct { object.Object } Json struct func NewFromJSObject ¶ func NewFromJSObject(obj js.Value) (Json, error) func Parse ¶ func Parse(data string) (Json, error) func (Json) Json_ ¶ func (i Json) Json_() Json func (Json) Map ¶ func (j Json) Map() interface{} type JsonFrom ¶ type JsonFrom interface { Json_() Json } Source Files ¶ View all Source files errors.go json.go Click to show internal directories. Click to hide internal directories.