6. ブラウザでのPython実行方法 1. javascriptでpythonを実装する 1. <script type= text/python ></ script> 2. pythonで書いてjavascriptにコンパ イルする 1. 実行されるのはjavascript 1. sass -> css 2. jade -> html
6. ブラウザでのPython実行方法 1. javascriptでpythonを実装する 1. <script type= text/python ></ script> 2. pythonで書いてjavascriptにコンパ イルする 1. 実行されるのはjavascript 1. sass -> css 2. jade -> html
JSONはブラウザベースでのデータのやり取りだけではなく、XMLに比べると冗長性が低くシンプルなフォーマットであることもあってサーバサイドでのデータのやり取りにも利用されるようになっている。下手にフィードを解釈するよりも手軽で良い。 JSONにスキーマを適用する とは言え、場合によってはデータの型や検証と言った手法が必要になることもあるだろう。そのために使うのがJSON Schemaだ。 今回紹介するオープンソース・ソフトウェアはJSON Schema、JSONのスキーマ定義を検証するライブラリだ。 JSON Schema自体は現在仕様が固められている最中のようだ。文字列、数値、真偽、オブジェクト、配列などの型が用意されており、こちらもまたJSONを使って定義をする。シンプルなデータ授受にJSONを利用しつつ、多少検証のステップを入れたいと言った場合に使えるかもしれない。 検証用スクリプト
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く