mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 13:05:56 +00:00
new x/jsonx season type
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
package jsonx
|
||||
|
||||
import "bytes"
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
)
|
||||
|
||||
var (
|
||||
quoteLiteral = '"'
|
||||
emptyQuoteBytes = []byte(`""`)
|
||||
nullLiteral = []byte("null")
|
||||
|
||||
// ErrInvalid is returned when the value is invalid.
|
||||
ErrInvalid = errors.New("invalid")
|
||||
)
|
||||
|
||||
func isNull(b []byte) bool {
|
||||
|
||||
Reference in New Issue
Block a user