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

How to differentiate a packed map from a packed list?

$
0
0
Hi,
Is there any documentation about the container structure which is created when using map.pack() or list.pack() methods to pack corresponding objects to containers?
I am using RetailCommonWebAPI class, getMapFromJsonString method which "desterilize" Json to Map of containers (packed maps or lists).
I would like to do the following:
1. container con = map.lookup("somekey");
2. Depends on the packed object (list or map) to create a list or map using create static methods on the corresponding classes (List::create(con) or Map::create(con).
That's why I need to be able to differentiate the types of the packed objects.
Is that possible?
Regards,

Viewing all articles
Browse latest Browse all 72043

Trending Articles



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