problem with jquery and asp.net data exchange
<p>i have a wcf service that i want to call and i know it's returning a JSON string. </p>

<p><strong>Q1</strong>: how can i find out how the JSON looks like at runtime? for example, if the JSON is {'name':'steive', 'lastname':'jones'} how do i find this parameter names with javascript or jquery? </p>

<p>in the sample jquery like this:</p>

<pre><code>    $.ajax({
        url: '/wcfService.svc/test',
        dataType: 'json',
        type: 'POST',
        success: function(data) {
           // to do
        }
    });
</code></pre>

<p><strong>Q2</strong>: how do i know what names data.d contains in the success function??</p>

<p>as you can guess i'm trying to automate the server/client data exchange so if the JSON gets big the client should be able to use the parameters that could be in any names. in the above example i used name and lastname but the client should work with no problem if i change the name to names and lastname to lastnames at server side, like this:
{'names':'steive', 'lastnames':'jones'}
i should be able to use it without any modification to client. i'm using ASP.NET and C#.</p>

<p><strong>Q3</strong>: is this even possible??</p>
