DynamicObject

0
0

Hi,

 

I have a DynamicObject with content

{{“iNDEXER”:”7abc897f-3eed-4267-8da4-0e703e614823″,”iTEM_INDEXER”:”ad0a5303-73d0-4ede-97b1-394e4f3bf286″,”dESCRIPTION”:”TESTING”,”uNITMSR”:”PC”,”qTY”:1,”pRICE”:100,”dISCOUNT”:0,”dELFLAG”:false,”cOST”:100,”nETPRICE”:100,”aMOUNT”:100,”sEQNO”:1}}

How to convert that to object.dESCRIPTION?

 

Thanks.

  • You must to post comments
0
0

I don’t understand the question. Can you attach a small runnable sample that shows the issue you need to solve?

In general, I suggest you use Newtonsoft or the Microsoft JavascriptSerializer to handle JSON.

The Wisej JSON serializer is a lot faster than the others but it’s tailored for Wisej and it serializes property names using camel casing (which is the standard in Javascript). That’s why you see “dISCOUNT”. You can change its behavior using the WisejSerializerOptions or the built-in JSON class.

 

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.