summaryrefslogtreecommitdiff
path: root/common.go
blob: 90156b95c76c0043220708a636724475ede71185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2022-2023  Luke Shumaker <lukeshu@lukeshu.com>
//
// SPDX-License-Identifier: GPL-2.0-or-later

package lowmemjson

import (
	"encoding/json"
	"reflect"
)

var (
	numberType    = reflect.TypeOf(json.Number(""))
	byteType      = reflect.TypeOf(byte(0))
	byteSliceType = reflect.TypeOf(([]byte)(nil))
)