Ajaxを使わない場合でもJSONが便利なケースは多い。たとえば2つのプルダウンリストがあり、片方の選択内容に応じてもう片方の選択項目が変化する、というような場合だ。もちろんAjaxを利用して、片方の項目が変更されたタイミングでサーバから値を取得 ...
JSONはJavaScript Object Notationの略で、JavaScriptでのハッシュとリストの記述法を利用したテキストベースのデータフォーマットだ。JavaScriptではeval()関数でオブジェクトに変換できるなど取り扱いが容易であるため、Ajaxでのデータ交換フォーマットとして利用さ ...
JavaでAPIのリクエストパラメータや設定用のJSON構造を組み立てるとき、Map<String, Object> は非常に便利なツールです。しかし、柔軟すぎるがゆえに地味にカオスになりがちだと感じたことはありませんか? この記事では、私が日々の開発で意識している「最初 ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Vivek Yadav, an engineering manager from ...
In this article, we’ll continue exploring XML and JSON in Java 11 and beyond. Examples in this article will introduce you to JSON-B, the JSON Binding API for Java. After a quick overview and ...
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 ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする