3 ms·
It's a problem that I contemplate every day. More often than not I have to resolve to using Map in which case I have to use external JSON library, because like
by neverminder 13y ago
It's a problem that I contemplate every day. More often than not I have to resolve to using Map in which case I have to use external JSON library, because like you mentioned - Play JSON is not that friendly with anything else than case class.
- saryant 13y agoWe've resorted to an ugly nested case class structure. We like Play-Json overall, it works well even with large (>100mb) JSON objects, but we'd love to not deal with that. TBH, it's a bigger problem with Slick where you we can't just mess with the schema since other systems use the same DB.
- VLM 13y ago"We've resorted to an ugly nested case class structure." Yes the same here, and I haven't found an idea that's overall better, taking everything into account.