2.3.8我在BootStrap.groovy中注册了一个自定义日期封送器,但是当我使用将日期填充为Json的对象时,它将抛出一个异常:异常消息是
ClassCastException: grails.converters.JSONcannot be cast to grails.converters.XML.
import sqlite3 print('convert_int was called with {}'.format(x)) return -1 # minus 1 as placeholder for integer nan
return np.int64(np.float64(x)) # np.float64 needed here as int(b