0
0

More than 3 years have passed since last update.

Object→Map型変換

Posted at

javaのオブジェクトクラスを変換するための処理です。(自分用メモ)

→Mapクラスへの変換

    Object object = item.get("obj");
    if (object instanceof Map) {
        data = (Map<String, Object>) object;
    }

どのクラスでも変換できるので、Stringに変換したい場合はStringに書き換えて使います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0