{"id":7429,"date":"2013-05-10T11:07:29","date_gmt":"2013-05-10T02:07:29","guid":{"rendered":"http:\/\/fukata.org\/?p=7429"},"modified":"2017-08-11T22:58:47","modified_gmt":"2017-08-11T22:58:47","slug":"overhead-json-decode-in-lua","status":"publish","type":"post","link":"https:\/\/blog.fukata.org\/archives\/7429\/","title":{"rendered":"lua\u3067\u306ejson\u30c7\u30b3\u30fc\u30c9\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u7121\u8996\u3067\u304d\u306a\u3044\u30ec\u30d9\u30eb\u3060\u3063\u305f\u306e\u3067MessagePack\u3092\u63a1\u7528\u3057\u305f\u3089\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u304c3.6\u500d\u306b\u306a\u3063\u305f"},"content":{"rendered":"

\u3068\u3042\u308bAPI\u30b5\u30fc\u30d0\u3092lua\u3067\u5b9f\u88c5\u3057\u3066\u3044\u305f\u3089\u601d\u3046\u3088\u3046\u306b\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u304c\u4f38\u3073\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u30c7\u30d0\u30c3\u30b0\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001json\u30c7\u30b3\u30fc\u30c9\u306e\u90e8\u5206\u3067\u9045\u304f\u306a\u3063\u3066\u3044\u305f\u6a21\u69d8\u3002<\/p>\n

\u7d50\u679c\u3001json4lua -> lua-cjson -> mplua\u3068\u3044\u3046\u98a8\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5909\u3048\u3066\u30c7\u30d0\u30c3\u30b0\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001mplua\u3092\u4f7f\u3063\u305f\u5834\u5408\u304c\u4e00\u756a\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u304c\u9ad8\u304b\u3063\u305f\u306e\u3067json\u3092\u6b62\u3081\u3066MessagePack\u3092\u63a1\u7528\u3057\u305f\u3068\u3053\u308d\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u59cb\u3081\u308b\u524d\u306b\u6bd4\u3079\u308b\u30683.6\u500d\u307e\u3067\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u304c\u5411\u4e0a\u3057\u305f\u3002<\/p>\n

<\/p>\n

\u76ee\u6b21<\/p>