{"provider_name":"Hatena Blog","blog_url":"https://dekuo-03.hatenablog.jp/","url":"https://dekuo-03.hatenablog.jp/entry/2021/06/20/122845","version":"1.0","published":"2021-06-20 12:28:45","height":"190","provider_url":"https://hatena.blog","author_name":"dekuo-03","categories":["\u6280\u8853\u30e1\u30e2#C/C++"],"image_url":null,"blog_title":"\u5de5\u4f5c\u3068\u7af6\u99ac2","title":"C\u8a00\u8a9eJSON\u30e9\u30a4\u30d6\u30e9\u30eaparson\u306e\u4f7f\u3044\u65b9\u3000\u81ea\u5206\u7528\u899a\u66f8","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdekuo-03.hatenablog.jp%2Fentry%2F2021%2F06%2F20%2F122845\" title=\"C\u8a00\u8a9eJSON\u30e9\u30a4\u30d6\u30e9\u30eaparson\u306e\u4f7f\u3044\u65b9\u3000\u81ea\u5206\u7528\u899a\u66f8 - \u5de5\u4f5c\u3068\u7af6\u99ac2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_url":"https://blog.hatena.ne.jp/dekuo-03/","description":"\u80cc\u666f\u3068\u76ee\u7684 Arduino\u3067\u3001JSON\u3092\u6271\u3044\u305f\u304b\u3063\u305f\u305f\u3081\u3001parson\u3068\u3044\u3046C\u8a00\u8a9e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u305f\u3002\u4f7f\u3044\u65b9\u3092\u81ea\u5206\u7528\u306b\u30e1\u30e2\u3059\u308b\u3002 \u30e9\u30f3\u30ad\u30f3\u30b0\u53c2\u52a0\u4e2dDIY \u4f7f\u3044\u305d\u3046\u306a\u3082\u306e\u3092\u5217\u6319 \u7a7a\u306e\u72b6\u614b\"{}\"\u306b\u3001\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304d\u3001\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3059\u308b\u307e\u3067\u3001\u304a\u304a\u3080\u306d\u4f7f\u3044\u305d\u3046\u306a\u3082\u306e\u3092\u5217\u6319\u3002 #include \"parson.h\" : // \u30eb\u30fc\u30c8Value\u3092\u4f5c\u6210 JSON_Value *rootValue = json_value_init_object(); // \u30eb\u30fc\u30c8Object\u3092\u53d6\u5f97 JSON_Object *rootObj = json_object(rootValue); // \u6587\u5b57\u5217\u3092\u8ffd\u52a0 jso\u2026"}