From 09d1c5c5bc64e094394dfe2150220d906c55ac37 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Sun, 5 Feb 2017 09:10:42 -0700 Subject: [PATCH] added gjson-safe comment --- README.md | 2 -- gjson.go | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc26c3c..b38f920 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,6 @@ GJSON is a Go package that provides a [very fast](#performance) and simple way to get a value from a json document. The purpose for this library it to give efficient json indexing for the [BuntDB](https://github.com/tidwall/buntdb) project. -For a command line interface check out [JSONed](https://github.com/tidwall/jsoned). - Getting Started =============== diff --git a/gjson.go b/gjson.go index 1ee26c9..9b28df2 100644 --- a/gjson.go +++ b/gjson.go @@ -4,6 +4,10 @@ package gjson import ( "reflect" "strconv" + + // It's totally safe to use this package, but in case your + // project or organization restricts the use of 'unsafe', + // there's the "github.com/tidwall/gjson-safe" package. "unsafe" "github.com/tidwall/match"