Lets say we have a Product object with Product.Name, Product.Desc, and Product.Price
but for reasons beyond our control we might recieve a product object with lowercase variables (Product.name, Product.desc, Product.price)
is there a way to interpret variables that are not case sensitive? Or do I have to do some regex .toLowerCase()
magic?
Thoughts?