Hello Rodrigo, This is the group for questions related to the development of the library itself rather than how to use it. You have more chances to get an answer if you post on the appropriate group: http://groups.google.com/group/jquery-en
While you're here, according to the documentation of $.getJSON ( http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback ), it seems that you can only use it with key/value pairs as the data parameter. To be clear: { child: value } works and { parent: { child: value } } doesn't, because it is written in the doc. On Aug 25, 9:43 pm, Rodrigo Pinto <rodrigo...@gmail.com> wrote: > Hi. > > I'm trying to use function $.getJSON with JSON parameter, but it not > work "100%". > > i.e.: > > $.getJSON( "<URL>", { parent: { child: value } }, callbackFunction ); > > , and my variable parent.child wasn't populated. > > After these test i try to use only " { child: value } ", and then it > work corretly. > > Why my first code not work? Any idea? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---