-
Notifications
You must be signed in to change notification settings - Fork 119
Deserialization of Maps with any key type #20
Comments
I think I'm encountering this issue. I want to parse the following:
Trying this with jerkson (
However, using the twitter Json parser (
|
I have found that I can get most of the way with deserialising maps using:
for a map between a String key and any kind of value. The resulting JValue needs post-processing but it's mostly useable. However, problems come up as soon as I have a JSON string containing the String or value "null". The above line then gives the error:
It seems that it doesn't support "null" as a valid JValue in this context. |
Okay, this isn't perfect, but with Coda's assistance I have discovered that Jerkson supports
works nicely, but for a fuller explanation see my comment on another issue here: #41 (comment) |
What about fixing this? 8 months old... |
Right now, Jerkson only supports deserializing maps with a String, Int, or Long key. Please support deserializing maps with any type of key.
The text was updated successfully, but these errors were encountered: