单选题
适中
#6417
Python类型int转换成对应的JSON类型是?( )
Python类型int转换成对应的JSON类型是?( )
答案与解析
正确答案:C
解析
Python类型向JSON类型转化,对应格式为:Python的list、tuple类型对应JSON的array,Python的int、long、float类型对应JSON的number,Python的str、unicode类型对应JSON的string,Python的None类型对应JSON的null。