Open dontgitit opened 7 years ago
for example,
case class Foo( hello: String, @JsonParse world: List[Int] )
Normally, you would need to submit a payload like this to match Foo
Foo
hello=something world[0]=198 world[1]=897123 world[2]=9
We want to allow:
hello=something world={198, 897123, 9}
It seems a @JsonParse annotation or something like that could do the trick
@JsonParse
idk, why not just make the whole thing json if you're gonna use json?
this is most useful for things that are already done with forms and have simple fields, but we need to add some more complicated thing
for example,
Normally, you would need to submit a payload like this to match
Foo
We want to allow:
It seems a
@JsonParse
annotation or something like that could do the trick