環境 * MacBook Air MC506J/A * ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10] MacBook Air にて RubyGems を使って JSON ライブラリをインストール。 $ sudo gem install json Successfully installed json-1.5.0 インストールされたライブラリはこれ ⇒ JSON implementation for Ruby Ruby 1.9系には標準添付ライブラリとしてこのJSONライブラリが付いてくるらしく、日本語に訳されたドキュメントがある。 Ruby 1.9.2 リファレンスマニュアル ⇒ library json で、どんなデータを渡せばいいのか使い方がよくわからなかったのでJSON文字列を生成するサンプル的なコードを書いてみた。 $
要約 JSON (JavaScript Object Notation)を扱うライブラリです。 JSON の仕様は [RFC4627] を参照してください。 クラス
jq Manual jqで簡単JSON加工 | Developers.IO jqコマンドが実は高性能すぎてビビッた話 - beatsync.net JSONを超絶に読みやすくする jq コマンド - WebAPIバリバリ使うor開発する人必須 CLIでJSONの整形をする - ( ꒪⌓꒪) ゆるよろ日記 JSON形式の情報を様々な条件や書式として成形、フィルタリングツール『jq』。上記関連エントリで私もこのツールの存在を知る事になったのですが、ツールの簡易さ・便利さに感動しながら私もちょくちょく利用させてもらっています。 そこでこのエントリでは、jq公式ページに展開されている利用ガイド・リファレンス的な位置付けの『jq Manual』を写経がてらざっくり日本語訳してみました。ざっくり訳なのでこの部分の訳おかしい・間違ってる等ありましたら御指摘頂けると幸いです。例示されているサンプルコードも
jq is a lightweight and flexible command-line JSON processor. jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. jq is written in portable C, and it has zero runtime dependencies. You can download a single binary, scp it to a far away machine of the same type, and expect
公式ドキュメント JacksonDataBinding - FasterXML Wiki には、変換できる Java オブジェクトについて書かれている。オブジェクトは LinkedHashMap、配列は ArrayList、整数は Integer / Long / BigInteger 、浮動小数点数は Double / BigDecimal へ変換できるらしい。 トップレベルがオブジェクトである JSON を Map に変換するサンプルコード // JSON オブジェクトは Map<String, Object> にマッピングされる private static Map<String, Object> readJsonObject(File json) throws JsonMappingException, JsonParseException, IOException { Objec
What is JSON-P? JSON Processing (JSON-P) is a Java API to process (for e.g. parse, generate, transform and query) JSON messages. It produces and consumes JSON text in a streaming fashion (similar to StAX API for XML) and allows to build a Java object model for JSON text using API classes (similar to DOM API for XML). Consistent Consistent with JAXP (Java API for XML Processing) and other Java EE a
JSON in JavaScript Douglas Crockford douglas@crockford.com 2019-08-25 JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ JSON became a built-in feature of JavaScript when the ECMAScript Programming Language Standard - Fifth Edition was adopted by the ECMA General Assembly in December 2009. json2.js: This file creates a JSON property in the global object
TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. This technique is similar to Matt Bloch’s MapShaper and the Arc/Info Export format, .e00. TopoJSON eliminates redundancy, allowing related geometries to be stored efficiently in the same file. For exampl
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く