json 键中的前导点
Leading dot in json key
Dropbox API 返回的 json 字符串中的大部分(如果不是全部)都包含 .tag
键。
我想知道为什么不直接使用 tag
,前导点在 json 语法中有意义吗?
this forum thread 中对此有一些讨论:
It was meant to be in a namespace that would never cause collisions
Dropbox API 返回的 json 字符串中的大部分(如果不是全部)都包含 .tag
键。
我想知道为什么不直接使用 tag
,前导点在 json 语法中有意义吗?
this forum thread 中对此有一些讨论:
It was meant to be in a namespace that would never cause collisions