none
How can I set a WCF/REST/JSON method to return JSON that I create in my code? RRS feed

  • Question

  • Hi all;

    I have a case where the JSON returned needs to sometimes not include certain properties. So I think I need to create the JSON myself and then return the created string.

    1. What is the best way to hand craft JSON? Are there helper methods I can use to build it up?
    2. How do I declare the method return to say the string I'm returning should not be changed in any way?

    thanks - dave


    Who will win The Windward International Collegiate Programming Championships?

    Friday, July 12, 2013 3:01 PM

Answers

All replies