When looking at samples, JsonObject properties JsonObject available as a dictionary. So instead of json.foo you will need json["foo"] .
Actually, itβs worse for you to use dynamic here, since there is nothing dynamic in it: the method returns a JsonObject , which simply does not have a foo member. If you did not use dynamic , you might get this error message at compile time.
If you look at the LB link, provided that it shows how to implement this dynamic functionality yourself.
source share