July 21st, 2011 by Todd Anderson With the recent public release of the next candidates for the Flash Player and AIR runtimes, I wanted to check out one of the features that I had been waiting to see as part of the player for some time. No, no... 続きを読む
Database: JHC https://github.com/tily/ruby-jhc Last Update: 2011-12-13T14:37:48+09:00 History Database Details Import Items Create New Item 続きを読む
Sunday, June 26, 2011 JSON Compression algorithms About JSON (Java Script Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It can be used as a d... 続きを読む
[1]http://d.hatena.ne.jp/ockeghem/20110907/p1 [2]http://www.atmarkit.co.jp/fcoding/articles/webapp/05/webapp05a.html [3] http://msdn.microsoft.com/ja-jp/asp.net/ff713315 [4] http://labs.cybozu.co.jp/blog/kazuho/archives/2007/01/cross-site_inc... 続きを読む
JSONSelect is an experimental selector language for JSON. It makes it easy to access data in complex JSON documents. It feels like CSS. Why not give it a try? { "name": { "first": "Lloyd", "last": "Hilaiel" }, "favoriteColor": "yellow", "lang... 続きを読む
Adobe’s as3corelib has a JSON parser. It’s quite stable, and widely used. It’s also dirt slow, and has a hard time getting through large amounts of data. Other libraries are either slower, or prohibitively licensed. So, I set out to writ... 続きを読む
「MongoDB + node.js: 鼻血が出るほど相性が良い。JSON がそのまま使える。検索クエリと保存データが全て JSON。プログラムにデータがシームレスに統合されるので ORM がいらない。MongoDB のコンソールと近いコードで書ける。」 #mongotokyo 18分前 TweetDeck... 続きを読む
misc | 04:07 | ES5 の仕様書http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdfJSON.stringify(”ほげほげ") は "ほげほげ" となるのが正しい模様。一方で、RFChttp://www.ietf.org/rfc/rfc4627.txtによると、"ほげほげ" は "\\u307b... 続きを読む
Introduction BSON is the data storage format for "objects" or "documents" in Mongo. BSON is a binary-encoded serialization of JSON-like documents. BSON stands for "Binary JSON", but BSON contains extensions that allow representation of some ... 続きを読む
MongoDB is designed for store JSON-style objects. The database understands the structure of these objects and can reach into them to evaluate query expressions. Let's suppose we have some objects of the form: > db.persons.findOne() { name: "... 続きを読む
problems with CSS CSS is not a programming language - no variables, no functions, no logic CSS properties are not cross-browser compatible CSS frameworks (haml, sass, less) are meant for server-side templating and we need client-side templati... 続きを読む
JSONPath is a lightweight component that allows to find and extract relevant portions out of JSON structures on the client as well as on the server. You can read more about it. There are Wiki pages about usage and examples in Javascript and P... 続きを読む
Ruby, JavaScript | 01:47 | 今まで, json schemaのvalidation libraryであるjsonschemaはPythonとJavaScriptのものが用意されていました.Chromium Extensionのmanifest.jsonのschemaをid:os0xさんがすでに書いていてhttp://gist.github.com/179669(os0x++)それ... 続きを読む
JSON.stringify/parseは困ったもんだ。 – IT-Walker on hatena このはなしを追ってECMAScript Fifth Edition Candidate Specification(PDF)をみてたらJSON.stringifyに第2引数と第3引数が定義されているのを知りました。 JSON.stringify ( value [ , replacer ... 続きを読む
(or “Why JSON Hyper Schema means JSON doesn’t need XML’s namespacing colon cancer”) I recently posted a proposal for an addition to JSON Schema, called JSON Hyper Schema, for defining the properties of a JSON structure that represent link... 続きを読む
Web Tech Object and array initializers should not invoke setters when evaluated Back in the day when everything was more hardcore, a website that needed to request data outside of a page load typically did so using XMLHttpRequest and translat... 続きを読む
Analyze your JSON string as you type with an online Javascript parser, featuring tree view and syntax highlighting. 続きを読む
An astute reader will remember that a while back, HTTParty divorced both ActiveSupport and the JSON gem in order to make it easier to use all around. With the JSON gem went the last gem dependency, which was kind of cool. A few days back, it ... 続きを読む
いんちきくさいPerlスクリプトでXMLっぽい何かに変換してブラウザに表示とかで見てた。JavaScriptで出来そうなのでJavaScriptで作ってみた。 http://hail2u.github.com/json2xml.html リンクをクリックでブラウザにXMLらしき何かが表示される。ブラウザのビルト... 続きを読む
雑記/備忘 | 09:14 | JSON(http://www.json.org/)データはけっこうよく使うので、何度か話題にしたことがあります(例えば「もう一度、ちゃんとJSON入門」)。でも、JSONには型情報/メタ情報が付けられないのがとても不満で、JSON改なんてもんを考えたこと... 続きを読む