Empty objects are needed apparently in certain update statements. But we filter out empty objects b/c there are empty UI elements representing "JSON you might want to add" basically.
A solution would be to not show project, query, update, etc. sections by default, and instead "add" them as necessary, which would get you separate editors. Something like that. I haven't thought this through very much, but the idea is not all of the choices are just "there" ... you would hit a you know, "add sort" or w/e button and then get the text boxes to add a sort. This would prevent the need for filtering empty objects.
Empty objects are needed apparently in certain update statements. But we filter out empty objects b/c there are empty UI elements representing "JSON you might want to add" basically.
A solution would be to not show project, query, update, etc. sections by default, and instead "add" them as necessary, which would get you separate editors. Something like that. I haven't thought this through very much, but the idea is not all of the choices are just "there" ... you would hit a you know, "add sort" or w/e button and then get the text boxes to add a sort. This would prevent the need for filtering empty objects.