Skip to content

Comments

Add is_json function#943

Merged
nullmonk merged 3 commits intomainfrom
dont-crash-json
May 26, 2025
Merged

Add is_json function#943
nullmonk merged 3 commits intomainfrom
dont-crash-json

Conversation

@nullmonk
Copy link
Collaborator

What type of PR is this?

/kind feature
/kind eldritch-function

What this PR does / why we need it:

This feature add a method to Eldritch parses JSON but wont crash the tome if the JSON is invalid.

Copy link
Collaborator

@hulto hulto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nullmonk nullmonk merged commit 0ec17b8 into main May 26, 2025
4 checks passed
@nullmonk nullmonk deleted the dont-crash-json branch May 26, 2025 02:06
nullmonk added a commit that referenced this pull request May 26, 2025
* Add is_json function

* Missed a test

* Convert to bool at the request of the devs
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.

2 participants