ffjson-demo
Demo using ffjson to replace encoding/json, example code for this blog.
The example is changed from Go by Example: JSON.
structure
- main.go, the main function
- idl/ffjson, *.go and *_ffjson.go(generated by ffjson)
- vendor or Godeps, dependencies generated by godep
How to run
Using godep
godep go run main.go
No godep
- Install ffjson
go run main.go