Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
id や name などのフィールドを持つクラスを痛々しく作成したくありません。代わりに、応答を消費するために使用できるジェネリック Java クラスはありますか? 私はe。キーと値のペアとして抽出しますか?
いいえ、java には facebook 用のクラスはありませんが、JSONObject クラスへの応答を解析でき、キーと値を使用して非常に簡単に読み取ることができます。