Get value of a property in JSON string without knowing the strongly type to deserialise to
In one component of my current project, I need to grab the value of a property by name from a given JSON string. This JSON string is dynamic and I don’t know which strongly typed class to deserialise it to. Below is the function I ended up with to solve this problem.