Skip to content

Fix the case when a json key has a dot in it#175

Open
vishnuMohanan01 wants to merge 4 commits intojoshbuddy:masterfrom
vishnuMohanan01:fix-the-case-when-a-json-key-has-a-dot-in-it
Open

Fix the case when a json key has a dot in it#175
vishnuMohanan01 wants to merge 4 commits intojoshbuddy:masterfrom
vishnuMohanan01:fix-the-case-when-a-json-key-has-a-dot-in-it

Conversation

@vishnuMohanan01
Copy link

With the current implementation self.construct_path returns the path $.foo.bar for the only key in the below hash.

{
    "foo.bar": 3
}

But the path should actually be $.'foo.bar'.

@vishnuMohanan01 vishnuMohanan01 marked this pull request as draft March 29, 2025 14:35
@vishnuMohanan01 vishnuMohanan01 marked this pull request as ready for review March 29, 2025 14:40
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.

1 participant