diff options
Diffstat (limited to 'test_export.go')
-rw-r--r-- | test_export.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test_export.go b/test_export.go new file mode 100644 index 0000000..1f97a7a --- /dev/null +++ b/test_export.go @@ -0,0 +1,16 @@ +// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// +// SPDX-License-Identifier: GPL-2.0-or-later + +package lowmemjson + +import ( + "git.lukeshu.com/go/lowmemjson/internal" +) + +func init() { + internal.EncodeStringFromString = encodeString[string] + internal.EncodeStringFromBytes = encodeString[[]byte] +} + +var parseTag = internal.ParseTag |