我正在尝试使用管道从 JSON 文件导入到 Microsoft Azure 中的数据库。我可以从 JSON 文件转换很多内容,但是在尝试从 JSON 文件导入带小数的数字值时出现错误。
这是JSON代码的一部分:
{"Email":"[email protected]","Longitude":12.6026244,"Latitude":66.0176966,"HomePage":"www.webpage.com"}
当我尝试在管道上运行调试时,它显示此错误消息:
ErrorCode=UserErrorInvalidDataValue,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=列“经度”包含无效值''。无法将“”转换为类型“Double”。,Source=Microsoft.DataTransfer.Common,''Type=System.FormatException,Message=Input string was not in a correct format.,Source=mscorlib,'
数据库的类型为 Double,其中 Longitude 和 Latitude 值应该是。是 Azure 无法识别 JSON 数字类型的问题吗?我不明白