json
mcusun2000
这个作者很懒,什么都没留下…
展开
-
openwrt 中调用json
对于这种写法json = require("json")print (json.encode( { 1, 2, 'fred', {first='mars',second='venus',third='earth'} } )) 还是这种写法local json = require ‘json’print (json.encode( { 1, 2, 'fred', {first原创 2016-09-28 22:47:50 · 3271 阅读 · 1 评论 -
json 学习
http://www.w3school.com.cn/json/json_syntax.asp转载 2016-08-15 23:04:38 · 344 阅读 · 0 评论 -
josn解析
json_object_object_foreach(my_object, key0, val0) { // 如果确认字段是整形,可以用这种 printf("Key at index %d is [%s] [ %d ]", orig_count, key0,json_object_get_int(v原创 2016-11-20 22:39:58 · 553 阅读 · 0 评论