Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Json “与”的区别是什么&引用;什么也没有_Json - Fatal编程技术网

Json “与”的区别是什么&引用;什么也没有

Json “与”的区别是什么&引用;什么也没有,json,Json,您好,我想知道“”和nothing之间的区别,例如,如果我举这个例子: "test":[""] 及 虽然您给出了相同的示例,但我认为您试图提供以下两个: "test":[""] 这是:“测试”:[] 对于第一种情况,测试数组长度为1。因此,访问测试[0]将为您提供“ 但对于第二种情况,其长度为0。因此,除了第一个元素,后面的元素中没有任何元素。 就这样。你们写的都一样 "test":[""]

您好,我想知道“”和nothing之间的区别,例如,如果我举这个例子:

"test":[""]


虽然您给出了相同的示例,但我认为您试图提供以下两个:

"test":[""]
这是:
“测试”:[]

对于第一种情况,测试数组长度为1。因此,访问
测试[0]
将为您提供
但对于第二种情况,其长度为0。因此,除了第一个元素,后面的元素中没有任何元素。
就这样。

你们写的都一样
"test":[""]