json

package
v0.0.0-...-db1d7af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const TIMESTAMP_FORMAT = "2006-01-02T15:04:05+00:00"

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array []interface{}

func (Array) Each

func (a Array) Each(cb func(key, val interface{}))

func (Array) Set

func (a Array) Set(key, val interface{})

type Iterable

type Iterable interface {
	Each(func(key, val interface{}))
}

type Map

type Map map[string]interface{}

func (Map) Each

func (m Map) Each(cb func(key, val interface{}))

func (Map) MarshalJSON

func (m Map) MarshalJSON() (result []byte, err error)

func (Map) Set

func (m Map) Set(key, val interface{})

type Mutable

type Mutable interface {
	Set(key, val interface{})
}

type MutableIterator

type MutableIterator interface {
	Mutable
	Iterable
}

type Resource

type Resource struct {
	Metadata Map `json:"metadata"`
	Entity   Map `json:"entity"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL