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

Add support for multiple levels of nesting, and fix empty values #707

Merged
merged 5 commits into from
Dec 19, 2022
Merged

Conversation

EBD232
Copy link
Contributor

@EBD232 EBD232 commented Nov 12, 2022

Added support for multiple levels of nesting, using recursion. I have attached a sample file, that is shown in the screenshot.

I'm not sure if this totally fixes #13, but it seems to work fine for me.
Also fixes #705

clef_nesting
nesting.txt

@warrenbuckley
Copy link
Owner

Code change looks good to me @EBD232
Do you have a good example JSON log file with nesting to test this out with please ?

@EBD232
Copy link
Contributor Author

EBD232 commented Dec 8, 2022

Great! There is a nesting.txt attached in the original message above that I used for testing. The .json extension was not allowed as an attached file

@warrenbuckley
Copy link
Owner

Will look at this later tonight or tomorrow. Kid/family stuff now 😄

@warrenbuckley
Copy link
Owner

Tested this out and works lovely - thanks @EBD232 🔥💪🎉

I tried out your JSON file and another that was originally reported in #13

Example JSON files

Rename them to .json from .txt

image

@warrenbuckley warrenbuckley merged commit b45f1d8 into warrenbuckley:dev Dec 19, 2022
@warrenbuckley warrenbuckley added the enhancement New feature or request label Dec 19, 2022
@EBD232 EBD232 deleted the nesting branch December 19, 2022 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Properties that are 0 or false are not shown Complex properties are not rendered
2 participants