「リードエンジニアから学ぶMedPeerのプロダクト開発」 https://medpeer.connpass.com/event/181835/

「リードエンジニアから学ぶMedPeerのプロダクト開発」 https://medpeer.connpass.com/event/181835/
JSON, short for JavaScript Object Notation, is a lightweight computer data interchange format. JSON is a text-based, human-readable format for representing simple data structures and associative arrays (called objects). Read more: json.org, wikipedia, google In JSON, they take on the following forms: object, array, value, string and number. Slow loading speed Several users reported slow loading sp
In this tutorial, I show you how to parse JSON data. I use the top 10 albums from iTunes US charts to populate my tableview. I use http://jsonviewer.stack.hu to visually view my JSON data in order to conceptualize what we are parsing and how we can do it. I use iTunes RSS generator to generate the rss json feed.
Hash::Compactという、HashRefのkey/valueを、keyのエイリアスやデフォルトのvalueをサポートすることでコンパクトに表現できるモジュールがあります。ドキュメントにはCache::Memcached::Fastでの利用例が示されているのですが、今回はそれをDBで使う例を紹介します。必ずしもORMが必要なわけではないのですが、説明の簡単のために、Tengを使います。 テーブル structカラムに、JSONでシリアライズしたHashRefを格納する、以下のようなテーブルがあったとします。 CREATE TABLE `data` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `struct` blob, PRIMARY KEY (`id`) ); Tengでのスキーマ定義 今回はTengを使うので、以下のようなスキ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く