MVC 5 camel case problem

MVC 5 camel case problem

tomleongtomleong Posts: 13Questions: 5Answers: 0

Dear all,

I am coding a MVC 5 project and use editor for editing details records. In model, i use upper case to define data field. when i use the model on api to return json result, the fields cannot be converted to camel case format.
Does anyone know how to convert the MVC model field to camel case for json result?

Thanks.

Best regards,
Tom

Answers

  • allanallan Posts: 61,726Questions: 1Answers: 10,110 Site admin

    I'm afraid I don't really understand the issue. Can you not just be consistent in your use of character case? Can you show me your server-side code?

    Allan

This discussion has been closed.