Firebug usually only prints of the first few bits of data for the objects,
You should be able to click the log statement and it will expand to show you
everything in that given object...It's most likely all there.



On Tue, Jun 2, 2009 at 11:17 AM, Dan <[email protected]> wrote:

>
> I have a JSON file formated as such:
>
> {
>    "facets": [
>        {
>            "name": "Friends",
>             "photoSrc" : "test.jpg",
>            "socialContext" : "Nightlife"
>
>        },
>        {
>            "name": "Tennis2",
>            "socialContext" : "Tennis2",
>            "photoSrc" : "test2.jpg"
>        }
>    ]
> }
>
> I do $.getJSON("js/facetWidget/moreFacets.json",  function(data)
> {console.log(data);});
>
> and it returns me this:
>
> [Object name=Friends photoSrc=test.jpg, Object name=Tennis2
> socialContext=Tennis2]
>
> is this something that I'm doing wrong...? if i just do a raw $.ajax
> and print out the data, everything is there, but as soon as I change
> dataType to JSON, it doesn't carry through all the values. The JSON
> validates on JSONLint, btw.
>
> bug?
>
> -Daniel
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to