Solution on "HTTP Error 414 Request URI too long" error using getJSON

The explanation of 414 error is described here:

With regard to JSON queries with jQuery this basically means we are not able to use long GET parameters. But for sure this is necessary for sending bigger objects serialized as JSON.
The solution would be using POST requests, but is jQuery support that?

The answer is yes if we just extend jQuery with post requests as it is described in jQuery forum:

postJSON: function( url, data, callback) {
return, data, callback, "json");

Then just replace getJSON with postJSON where it is needed.