I’m jsoning a c# const class, getting name-value-pairs. I need to access them by string-name on client side, e.g.
return $.parseJSON(constantClass).'property';
This is obviously not working – is there any way to get my value from my json-input using a string name?
Try to access them as array keys (very familiar to associative arrays):
See more how you can operate with objects at MDN.