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 data interchange format, just like XML. When comparing JSON to XML, it has several advantages over the last one. JSON is really simple, it has a self-documenting format, it is much shorter because there is no
[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_including.phpあたりをよんで、JSON とセキュリティについてかんがえてみた。 ここで、有効とされている対策のうち while(1); を先頭に付与するPOST ですべて処理するといったあたりは、RESTful でないし、BK 感がひどいというか本質的ではないのでできるだけやりたくない。 また、Amon2 では互換
Health These insects carry enough bacteria to the cause Ezio Palermo June 30, 2019 4855 Struggling to sell one multi-million dollar home currently on the market won’t stop actress and singer Jennifer Lopez from expanding her property collection. Lopez has reportedly added to her real Health Morning people may have the lower breast cancer risk Ezio Palermo June 30, 2019 5234 Struggling to sell one
ES5 の仕様書 http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf JSON.stringify(”ほげほげ") は "ほげほげ" となるのが正しい模様。 一方で、RFC http://www.ietf.org/rfc/rfc4627.txt によると、"ほげほげ" は "\\u307b\\u3052\\u307b\\u3052" になってもよいよ、とある。 で、CouchDB は後者のエスケープバージョンのJSONしか受け付けないので、node.js 0.2.30.3 以降, あるいはES5をちゃんと実装しているモダンな(笑 ブラウザだと連携できなくなる.... なんだってー [追記] id:t_43z さんから 0.3 以降じゃね ? という指摘をいただいて、改めてソース確認。 macbo
BSON, short for Binary JSON, is a binary-encoded serialization of JSON-like documents. Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. For example, BSON has a Date type and a BinData type. BSON can be compared to b
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: "Joe", address: { city: "San Francisco", state: "CA" } , likes: [ 'scuba', 'math', 'literature' ] }
今まで, json schemaのvalidation libraryであるjsonschemaはPythonとJavaScriptのものが用意されていました. Chromium Extensionのmanifest.jsonのschemaをid:os0xさんがすでに書いていてhttp://gist.github.com/179669(os0x++)それをcrxmakeで利用したいなあと思ったので, jsonschemaをRubyに移植しました. http://github.com/Constellation/ruby-jsonchema/tree/master ほとんどロジックはもとのjsonschemaのものです. jsonschemaのMIT Licenseにあわせ, MIT Licenseで公開しています. install gem取得先にgithubを登録していない場合, gem
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 translation of the requested data from an XML DOM or from a custom format into internal data structures. The translation involved either cumbersome DOM APIs or custom
Analyze your JSON string as you type with an online Javascript parser, featuring tree view and syntax highlighting. Processing is done locally: no data send to server.
RailsTips One man, lazily posting some of the things he learns. subscribe » 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 occurred to me that the parsing of XML and JSON that HTTParty used might be handy
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
JSON(http://www.json.org/)データはけっこうよく使うので、何度か話題にしたことがあります(例えば「もう一度、ちゃんとJSON入門」)。でも、JSONには型情報/メタ情報が付けられないのがとても不満で、JSON改なんてもんを考えたこともありました。(後でXIONに改名) JSONデータに対するスキーマ定義の仕様がかたまりつつあることを、ごく最近になって知りました。 http://json-schema.org/ JSON本体はRFC 4627になっていますが、JSONスキーマの標準化のステータスは、あまりハッキリとは分かりません(僕には)。http://groups.google.com/group/json-schema?pli=1 を覗き見した感じでは、現状ワーキングドラフトという位置付けらしいです。 なかなか面白いし役に立ちそうなので紹介します。ただし、僕にとっ
JSONって大体のサーバレスポンスだと、改行もなくエディタで開いてちまちま改行入れて内容確認...なんて事やってる人もいるかと思います。 結構前に作った物ですが、もしかしたら便利と思ってくれる人もいるんじゃないか...と思ったの晒しておきます。 mattn's gtkjsonviewer at master - GitHub A simple json viewer written in GTK. http://github.com/mattn/gtkjsonviewer/tree/master 早い話が、JSONをGUIで見ようという話です。中身は簡単なpythonのコードで、GTKを使っています。 # curl http://twitter.com/public_timeline/?format=json | gtkjsonview.py の様に使います。Windowsの場合はpyth
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く