How should you complete the code?

Posted by: Pdfprep Category: 70-483 Tags: , ,

DRAG DROP

You need to validate whether string strJson is a valid JSON string.

How should you complete the code? To answer, drag the appropriate code elements to the correct targets in the answer area. Each code element may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Answer: JavaScriptSerializer Deserialize

Explanation:

serializer = new DataContractJsonSerializer();

var result = serializer.ReadObject<Dictionary<string, object>>(StrJson);

Leave a Reply

Your email address will not be published.