| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We're leaking a bunch of strings in error paths, as well as the stream
for the input file.
|
|
|
|
|
|
| |
We should allow redirecting the output of the format utility to a file,
instead of dumping everything on the standard output. This makes it
easier to use json-glib-format inside a build system or a CI pipeline.
|
|
|
|
|
|
| |
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772753
|
| |
|
|
|
|
|
|
|
|
|
| |
As unistd.h is not universally available, don't include it unconditionally
and include the corresponding Windows headers where necessary. Also, use
gssize in place of ssize_t and define STDOUT_FILENO on Windows when we
don't have unistd.h, which is a constant that is defined in unistd.h.
https://bugzilla.gnome.org/show_bug.cgi?id=723813
|
|
|
|
| |
Use the same spacing and formatting rules.
|
|
A simple command line utility to format JSON data; it allows prettifying
and unprettifying JSON.
|