Trouble Extracting from Json Return String Where the Fields in the Json can Change Dynamically RRS feed

All replies

  • I think I answered my own question... Here is what I came up with. If anyone has a better solution please let me know...


    DimobjJavaSrptSerializer AsObject= NewJavaScriptSerializer().Deserialize(OfObject)(strJsonString)


    If(objJavaSrptSerializer.ContainsKey("outageNumber123")) Then

                    strOutageNumber = objJavaSrptSerializer(






    "It is not there...")



    Saturday, March 11, 2017 2:17 AM
  • Hi,

    Thanks for sharing the solution, and I suggest you mark your own reply as answer, and then others who run into the same issue would find the solution easily.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, March 13, 2017 5:07 AM