Yet Another Experimental Release -- 'Any' type support!

29 views
Skip to first unread message

tigerfoot

unread,
May 15, 2013, 1:48:19 PM5/15/13
to scala...@googlegroups.com
Guys,

Stumbled upon a need to support Any:

  ...
  something : Map[String, Any]
  ...

I've modded Salat to support this, as well as Option[Any], List[Any], and just Any type.

If the object you're assigning to the Any is a case class it will be converted to json and include a type hint regardless of your type hint strategy.
(This is, obviously, necessary since "Any" doesn't tell the parser what type to use, so we absolutely need the type hint.)


Enjoy!
Greg

tigerfoot

unread,
May 15, 2013, 3:04:47 PM5/15/13
to scala...@googlegroups.com
Oh, one more note...  This is an UNOFFICIAL release, not from novus.
Reply all
Reply to author
Forward
0 new messages