package decoder

import (
	
	
	
)

type funcDecoder struct {
	typ        reflect.Type
	structName string
	fieldName  string
}

func newFuncDecoder( reflect.Type, ,  string) *funcDecoder {
	 := &funcDecoder{, , }
	return 
}

func ( *funcDecoder) ( *RuntimeContext, ,  int64,  unsafe.Pointer) (int64, error) {
	 := .Buf
	 = skipWhiteSpace(, )
	if [] == 'n' {
		if [+1] != 'u' || [+2] != 'l' || [+3] != 'l' {
			return 0, literalSyntaxError(, , "null")
		}
		*(*unsafe.Pointer)() = nil
		return  + 4, nil
	}
	// a func can't be decoded from any other value: it is a type error, after which the decoding goes on
	return .skipTypeError(, , .typ)
}

func ( *funcDecoder) ( *RuntimeContext, ,  int64) ([][]byte, int64, error) {
	return nil, 0, fmt.Errorf("json: func decoder does not support decode path")
}