Hi,
the whole set is JSON, I can load it with json.loads och access the
different fields. But the string inside billing_address is not I think
JSON, but does anybody have any ideas what it could be and how to access
it. I'd rather not start splitting it up and do a lot of trial and errors.
But maybe that is the only way of doing it.
Kenneth
Den söndag 21 februari 2016 kl. 15:59:23 UTC+2 skrev Val K:
>
> Maybe I mistake, but JSON means arrays ([1,2, "any string", 5]) , hashes
> ({"a":1, "b":"any string"}) and combinations ([{"a": [1,2,3], "b":2 }, 2,3
> ]),
> so , "a:7:{..." - isn't JSON
>
> On Sunday, February 21, 2016 at 2:46:47 PM UTC+3, Kenneth wrote:
>>
>> Hi,
>>
>> I don't access to change the webform, so I need to get by what I receive.
>> It is a standard webform in Drupal that sends the JSON.
>>
>>
>> Kenneth
>>
>>
>> Den söndag 21 februari 2016 kl. 13:01:40 UTC+2 skrev Val K:
>>>
>>> How do you serialize form?
>>> Jquery.param makes json in extended format by default, try use
>>> traditional=true
>>
>>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.