Nate Bauernfeind
Nate Bauernfeind
@kralikba I'm not sure I understand what you mean by "deeper" types. I would expect Option[Seq[T]] to deserialize (and serialize) correctly. `Int` as `T` might have issues as @chasebradford points...
Thanks for your example. Class `X` is an invalid use of `contentAs` since you're declaring the content of the Option to be an Int, not the content of the Seq...
Unfortunately, json does not support objects as keys. What is happening is that Foo(1) is being stringified as "Foo(1)" (the same as calling .toString on the object) before writing it...
It really depends on what you are trying to do, but I find myself doing something like this instead: ``` scala val keyMap = Map[String, KeyType]() val valMap = Map[String,...
If I'm remembering correctly, it is not possible to tell the difference between value classes and primitives without using scala reflection. However scala 2.10's reflection is not thread safe which...
Can you provide a more thorough example of your case class structure? I'm not understanding why it doesn't work without custom serializers/deserializers in the first place. The case class serializer...
Have you approached this problem using `JsonTypeInfo`? See: https://stackoverflow.com/questions/17135166/looking-for-a-good-example-of-polymorphic-serialization-deserialization-using-ja/26720380#26720380
`TypeB` in the code you provided is an object not a class. The proper way to get the class of an object is the `TypeB.getClass`. Unfortunately the type info annotation...
The plan has always been to add "real" scala support in scala 2.12 once we had access to a real scala reflection API. Now that it's available no one has...
I'm not quite sure how this is supposed to work. For example, the compiler doesn't even know what type the imported Vector2f is: ```scala println(manifest[Vector2f]) ``` Yields the errors: ```...