Move JSON code below /codec

To prevent package import cycles, the interface
`EncodeDecoder` is also moved into `codec` where it fits naturally.

Fixes #19
This commit is contained in:
Bjørn Erik Pedersen
2016-04-16 17:12:11 +02:00
parent 7d63101eb2
commit a1bf9947b1
7 changed files with 44 additions and 25 deletions

11
codec/json/json_test.go Normal file
View File

@@ -0,0 +1,11 @@
package json
import (
"testing"
"github.com/asdine/storm/codec"
)
func TestJSON(t *testing.T) {
codec.RountripTester(t, Codec)
}