Are ConvertToMap and MarshalMap doing same thing ? #4941
Unanswered
muhammetaslangg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I was using ConvertToMap to save items and ConvertFromMap to read. But now it is deprecated and suggest that use MarshalMap instead of ConvertToMap and use UnmarshalMap instead of ConvertFromMap. But the problem is MarshalMap is encodes nested structs thats why I can not get items from db with UnmarshalMap function because items saved with ConvertToMap are could not parse with UnmarshalMap function. What can I do for this situation ?
Beta Was this translation helpful? Give feedback.
All reactions