Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

99
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!