package jx

// Null reads a json object as null and
// returns whether it's a null or not.
func ( *Decoder) () error {
	if  := .skipSpace();  != nil {
		return 
	}

	var (
		 = .offset()
		    [4]byte
	)
	if  := .readExact4(&);  != nil {
		return 
	}

	if string([:]) != "null" {
		const  = 'n' | 'u'<<8 | 'l'<<16 | 'l'<<24
		return findInvalidToken4(, , )
	}
	return nil
}