Skip to content

Conversation

@xsynaptic
Copy link

Resolves #289 🐛

Adds fallback to return the original argument when JSON parsing fails.

Also adds explicit handling for "undefined" to preserve existing test expectations (previously passed accidentally because the function implicitly returned undefined for all non-JSON strings).

@xsynaptic xsynaptic requested a review from pi0 as a code owner January 12, 2026 06:00
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.

VArg silently returns undefined for non-JSON string arguments

1 participant