title: How to convert generic potentially nested map Map[String, Any] to case class using any library in Scala?
body: <p>I've not had much joy with reflection, this answer using shapeless works for some cases (but seems to have many edge cases) <a href="https://stackoverflow.com/questions/55042252/shapeless-code-to-convert-mapstring-any-to-case-class-cannot-handle-optional">Shapeless code to convert Map[String, Any] to case class cannot handle optional substructures</a></p>
  
  <p>Does anyone know of a nice library that does this in just a few LOCs?</p>