-
-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle string pointer in fromJSON builtin
Support *string input in fromJSON builtin function by dereferencing pointer before JSON unmarshaling. Added tests covering both direct string and pointer string use cases, including toJSON, which already supports this. Signed-off-by: Ville Vesilehto <[email protected]>
- Loading branch information
1 parent
192ab82
commit 86798a6
Showing
2 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters