ニュース

前回は2回にわたってJavaプログラムでJSONデータを扱うための 「Jackson Java JSON-processor」 を紹介しました。今回はJSONデータを扱うもう1つのJavaライブラリ 「Google Gson」 を紹介します。Gsonの特徴は、 JavaオブジェクトとJSONオブジェクトの変換を、 シンプルな ...
前回は 「Jackson Java JSON-processor」 (⁠以下、 Jackson) のストリーミングAPIを利用して、 JavaプログラムからJSON形式のデータにアクセスする方法を解説しました。今回はそれに引き続き、 ツリーモデルのAPIを使う方法を紹介します。JacksonのツリーモデルAPIは ...
Ajaxを使わない場合でもJSONが便利なケースは多い。たとえば2つのプルダウンリストがあり、片方の選択内容に応じてもう片方の選択項目が変化する、というような場合だ。もちろんAjaxを利用して、片方の項目が変更されたタイミングでサーバから値を取得 ...
XML and JSON are important to me, and I’m grateful to Apress for letting me write an entire book about them. In this article I will briefly introduce the second edition of my new book, Java XML and ...
「JSON Viewer」は、JSON形式のテキストを閲覧するためのビューワー。編集部にてWindows 10で動作を確認した。プロジェクトホスティングサービス“Codeplex”のプロジェクトページから無償でダウンロードできる。 本ソフトは、JSONデータの構造をツリー表示 ...
Have you ever wondered how to open a JSON file? Probably not. However, for those who do, chances are you’ve tried everything under the sun but still cannot find a way to gain access to the data inside ...