Fix bug when a line happens to parse as JSON but isn't an object.

For example, if `false` happened to be the only value on a line, this
would be parsed as valid JSON (a boolean) but it is not a structured log
message that slfmt should try to parse and format.
This commit is contained in:
2025-01-20 21:24:22 -06:00
parent 6c978f32cc
commit 11cc9c9a39
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Package
version = "0.2.0"
version = "0.2.1"
author = "Jonathan Bernard"
description = "Small utility to pretty-print strucutured logs."
license = "MIT"