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.
実装する必要があるマルチモジュラー Scala アプリケーションがあります。
私の問題は、JSON への変換に MongoDB JSON Api を使用したくないことです。
単一のシリアル化レイヤーを開発し、JSON から MongoDB の BSON 形式に変換する賢い方法はありますか?
Jackson マッパーを使用して json を取得し、Salat DAO (iirc が同じ jackson マッパーを使用) を使用してオブジェクトを Mongo に格納できると思います。Salat はケース クラスでのみ動作しますが、それが問題かどうかはわかりません。