blob: 76d29d2493992a5d6975ba57b2dcbde94a7c556a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com>
//
// SPDX-License-Identifier: GPL-2.0-or-later
package lowmemjson
import (
"io"
"git.lukeshu.com/go/lowmemjson/internal"
)
func init() {
internal.EncodeStringFromString = func(w io.Writer, s string) { encodeStringFromString(w, nil, s) }
internal.EncodeStringFromBytes = func(w io.Writer, s []byte) { encodeStringFromBytes(w, nil, s) }
}
var parseTag = internal.ParseTag
|