Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

JSON to MAP Conversion

$
0
0

Hi all,

Im converting  a JSON response into a MAP so that i can iterate through the map for the values.

Im using RetailCommonWebAPI::getMapfromJsonString() in AX 2012 R2.

It works fine in JOB and normal classes.

But when i call the same in SysoperationFramework it throws the below error

"Object must implement IConvertible".

My sample json string is

{"Name":"TEST","Phone":{"AIR":"1","AIR2":"2"}}.

The error occurs at RetailCommonWebAPI::getMap() line number 11.

Thanks in Advance.


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>