Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

98
Vistas
Mapping Json type from Postgresql in Scala code

I have the table with json data type in Postgresql and i must choice the eligible mapping of this field in Scala code for case class field (i don't use slick where i can directly set something like sql.json). I consider the next variants:

  1. java.lang.Object with following validation.
  2. play.libs.Json or io.circe.Json

But i can't choice one of them and I don't other possible candidate for this place.

UPD For interacting with DB i use quill

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

As Sarvesh mentioned it, it highly depends on the library you are going to use. There is a nice pg-slick extension (https://github.com/tminglei/slick-pg) that supports most of the json libraries.

As for the other libraries, I did not find any relevant resource. It is however possible to insert json with plain SQL. Find resource here

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda