diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-01-08 14:05:56 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-01-10 15:48:09 -0500 |
commit | 167d50a9fa7bd9e7b3bcd344c8ea519ae98565bf (patch) | |
tree | d00183a20ae35731d8b967a157c0cd4be4698adc /libpod/boltdb_state.go | |
parent | 1b761dbb02afc52f97a50af4b073a756c5cc6820 (diff) | |
download | podman-167d50a9fa7bd9e7b3bcd344c8ea519ae98565bf.tar.gz podman-167d50a9fa7bd9e7b3bcd344c8ea519ae98565bf.tar.bz2 podman-167d50a9fa7bd9e7b3bcd344c8ea519ae98565bf.zip |
Move all libpod/ JSON references over to jsoniter
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/boltdb_state.go')
-rw-r--r-- | libpod/boltdb_state.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libpod/boltdb_state.go b/libpod/boltdb_state.go index b154d8bda..e7a07a9a8 100644 --- a/libpod/boltdb_state.go +++ b/libpod/boltdb_state.go @@ -2,15 +2,17 @@ package libpod import ( "bytes" - "encoding/json" "strings" "sync" "github.com/boltdb/bolt" + jsoniter "github.com/json-iterator/go" "github.com/pkg/errors" "github.com/sirupsen/logrus" ) +var json = jsoniter.ConfigCompatibleWithStandardLibrary + // BoltState is a state implementation backed by a Bolt DB type BoltState struct { valid bool |