You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using very common way parsing of query parameters. What you request is a very specific way to do. I fully understand that it is useful, but JSON-like treatment of the var names in query string is a really only one of the special cases which are possible.
Maybe we can adjust some specific name parsers and provide them as separate modules, but it is definitely SHOULD NOT be a core part of jsurl.
var a={q:1, w:"w2", e:{ea:"123qwe", eb:"345asd"}, f:["qw", "er", 12], g:[{zx:123, vv:345}, {zxc:1234, cvb:3455}] };
var u=new Url("https://us:pw@xxx.com/path1/path2?" + decodeURIComponent($.param(a)) );
u.query.e should return {ea:"123qwe", eb:"345asd"}
The text was updated successfully, but these errors were encountered: