Documentation ¶
Index ¶
- Constants
- Variables
- func Read(rd io.Reader) (interface{}, error)
- func ReadArray(rd io.Reader) ([]interface{}, error)
- func ReadObject(rd io.Reader) (map[String]interface{}, error)
- func Write(wt io.Writer, anything interface{}) error
- func WriteArray(wt io.Writer, array []interface{}) error
- func WriteHdr(wt io.Writer, r VerJsonHdr) error
- func WriteObject(wt io.Writer, object map[String]interface{}) error
- type VerJsonHdr
Constants ¶
View Source
const ( NullT byte = iota + 1 NumberT BoolT VarintT StringT ArrayT ObjectT )
Variables ¶
View Source
var (
Magic = []byte{'S', 'B', 'V', 'J', '0', '1'}
)
Functions ¶
func ReadObject ¶
func WriteArray ¶
func WriteObject ¶
Types ¶
type VerJsonHdr ¶
Click to show internal directories.
Click to hide internal directories.