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

Commits on Jul 26, 2023

  1. feat: Adds segment JSON path logging functionality

    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.
    chris94dim committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    625f0df View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. feat: Adds JsonPath interface and event emitter.

    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.
    chris94dim committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    3f859c9 View commit details
    Browse the repository at this point in the history