如何构造 json 键包含点
How to construct json key contains dot
JsonBuilder
当 json 键有点时脚本不工作。当键不包含点时效果很好。
security.set(data.getValue('set', index).toBoolean())
我想要输出 json 喜欢
"security.set": true
import data from <your json file path>;
data['security.set']
会给你值。
JsonBuilder 当 json 键有点时脚本不工作。当键不包含点时效果很好。
security.set(data.getValue('set', index).toBoolean())
我想要输出 json 喜欢
"security.set": true
import data from <your json file path>;
data['security.set']
会给你值。