Hello!
I have a question about web3py. jQuery says:
"As of jQuery 1.4, the $.param()
method serializes deep objects recursively to accommodate modern scripting languages and frameworks such as PHP and Ruby on Rails. You can disable this functionality globally by setting jQuery.ajaxSettings.traditional = true;
.
As of jQuery 1.8, the $.param()
method no longer uses jQuery.ajaxSettings.traditional
as its default setting and will default to false
. For best compatibility across versions, call $.param()
with an explicit value for the second argument and do not use defaults."
it means, that
$.param({list:[ {var1:1, var2:2}, {var1:1, var2:2} ]} )
At the moment, web2py treats such post as Storage of {"list[0][var1]": "1", "list[0][var2]":"2" ...}
but would be better:
{"list": [{"var1": "1", "var2": "2"}, {"var1": "1", "var2": "2"}]}
I saw web3py source - it seems, there are nothing new (maybe I missed something?)