I've an API to which I need to feed some tags which are in Map<TagObject, String> input. There's a enum of TagObject.
This API only takes input in String so I convert the map to a string with toString and interpolate it with termination characters to make it in a format it needs. But the API sends the data in form of Map<String, String> output. I want to recreate it to Map<TagObject, String>. But my logic is missing few values. Is there a better way to do it than using the enumIterator and parsing the output map?
#Conversion error
6 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @vale night! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
What is the api doing with the input ? Can you skip it altogether ?
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use/help ping.
Warning: abusing this will result in moderative actions taken against you.
It is modifying few of the values as per several components input. Its written in C++. Can't be skipped