You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for this great library. I really like it.
I have a particular use case which I wanted to know was possible with jsonista and if so, what I'd have to do:
When using write-value with a byte array as value in a map and reading it back with read-value, it's interpreted as a string and not as the object from which it was read, i.e.
Do I need to do some hacking on the mapper to make it happen?
I tried writing a mapper which would pass a byte-array without change and provide it as a module when creating an object-mapper but it didn't work.
Do you have suggestions?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for this great library. I really like it.
I have a particular use case which I wanted to know was possible with jsonista and if so, what I'd have to do:
When using
write-value
with a byte array as value in a map and reading it back withread-value
, it's interpreted as a string and not as the object from which it was read, i.e.while the desired output would be
{"b" {"a" 1}}
.Do I need to do some hacking on the mapper to make it happen?
I tried writing a mapper which would pass a byte-array without change and provide it as a module when creating an
object-mapper
but it didn't work.Do you have suggestions?
Thanks in advance
The text was updated successfully, but these errors were encountered: