Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clp-s: Incorrect decompression results with array fields #410

Closed
wraymo opened this issue May 15, 2024 · 0 comments
Closed

clp-s: Incorrect decompression results with array fields #410

wraymo opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wraymo
Copy link
Contributor

wraymo commented May 15, 2024

Bug

When logs contain array fields, the decompressed logs are invalid JSON due to a missing comma following these fields.

CLP version

69b1434

Environment

MacOS 13.2.1

Reproduction steps

Compressed the logs below and decompressed the archive

{"array":[1,2,3],"object":{"key":"value"}}
{"array":[4,5,6]}

The decompressed logs are

{"array":[1,2,3]"object":{"key":"value"}}
{"array":[4,5,6}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant