I've widened the scope of some of my changes and have implemented arbitrary JSON input to the API shortcode, which replaces a few other of my pull requests.
This should support all inputs with appropriate JSON escaping, but isn't set up to work alongside non-JSON arguments (for example supplying where clauses directly in the shortcode and in the JSON argument). If you think this is an issue I can look at allowing the arguments to combine.
I've widened the scope of some of my changes and have implemented arbitrary JSON input to the API shortcode, which replaces a few other of my pull requests.
This should support all inputs with appropriate JSON escaping, but isn't set up to work alongside non-JSON arguments (for example supplying where clauses directly in the shortcode and in the JSON argument). If you think this is an issue I can look at allowing the arguments to combine.