Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Correct token.Tokenize double quoted strings with escape sequences handling #3

Merged

Conversation

nieomylnieja
Copy link
Collaborator

Ref: goccy#457

nieomylnieja added a commit to nobl9/nobl9-go that referenced this pull request Jun 27, 2024
## Motivation

The issue is extensively covered in this issue:
goccy/go-yaml#455

## Summary

Added test case and replaced `goccy/go-yaml` with our fork.
For now I'm pinning the commit SHA from the PR branch.
I'm not sure if the upstream is actively maintained anymore, we might
just want to go further with the fork instead of the replace clause.

## Related changes

- goccy/go-yaml#457
- nobl9/go-yaml#3

## Testing

Test case was supplied.

## Release Notes

Fixed incorrect handling of double quoted JSON literals which caused
errors when unmarshaling CloudWatch v1alpha SLOs
with certain `json` queries.
@nieomylnieja nieomylnieja merged commit 5cf06f1 into main Jul 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant