问题
Can anyone tell me how to rename variables like play_size_32,play_url_24_m4a in camelcase naming policy? I am deserializing json string, but I don't know how to deal with such variable names.
回答1:
playSize32, playUrl24M4a
I agree that camel case is not great when dealing with numbers, you should try to avoid variables names containing them
来源:https://stackoverflow.com/questions/37496068/how-to-deal-with-numbers-in-camelcase-naming-policy