On 10 May 2014, at 4:39, Lalkhum Sanga wrote:
I was trying to use the above mentioned methods (withFields and withBean methods in halbuilder-json) using Scala, but it is not giving anything back to me.
Replying on this list as well as the main hal list.
You can use either @JavaBean at the class level, or @BeanProperty at the field level to tell the scala compiler to generate javabean style getters/setters.
There may be reasons you might not want to do that tho for scala purity, so some means of generating a Reprentable instance might be useful ( I'll take a look at how I could maybe automate that using scala macros ).