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

feat: Adds segment JSON path logging functionality #142

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chris94dim
Copy link

Adds segment JSON path logging functionality.

Each segment passes its JSON path (starting from root path ' ' ) recursively, from parent to child.

This results in the ability of getting the JSON path (of all the previous parents until the current child) and the key of the current segment.

Adds segment JSON path logging functionality.

Each segment passes its JSON path (starting from root path ' ' ) recursively, from parent to child.

This results in the ability of getting the JSON path (of all the previous parents until the current child) and the key of the current segment.
Adds JsonPath  interface.
Adds event emitter of JsonPath from child to root parent.

When the user clicks on a segment, an event is emitted.
This event contains information regarding the parent JsonPath and segment data of the segment clicked.

This event is emitted bottom to top, from each recursive child to its parent, finally reaching the root component.

The user can handle this emitted event, and use it according to their needs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant