Re: Sorting the keys of formatted (pretty printed) JSON output
- --- In email@example.com, "Arthur Blake" <arthur.blake@...> wrote:
> When I have machine generated JSON data that is stored in files, IExcellent suggestion. I have modified JSON.Object.
> like to have the JSON data be sorted alphabetically by the keys in the
> It's much easier to find what you are looking for quickly this way
> when viewing or editing the data (especially when the amount of data
> is large.)
> Because there is no defined order of the keys in JSON, it doesn't
> matter what order you put them in. So we might as well put it in an
> order that makes it more human readable in contexts where the data is
> meant to be viewed or edited by humans.