Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

json encoding and decoding #32474

Merged
merged 3 commits into from
Sep 26, 2024
Merged

json encoding and decoding #32474

merged 3 commits into from
Sep 26, 2024

Conversation

havardpe
Copy link
Member

@arnej27959 please review
@mpolden FYI

@havardpe havardpe requested a review from arnej27959 September 25, 2024 15:31
Copy link
Member

@arnej27959 arnej27959 left a comment

Choose a reason for hiding this comment

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

minor fix needed

}

func (e *jsonEncoder) put(value byte) {
e.fmt(string(value))
Copy link
Member

Choose a reason for hiding this comment

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

write to e.output directly

return f(value)
}

func InsertRoot(root *Value) myInserter {
Copy link
Member

Choose a reason for hiding this comment

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

consider declaring this to return Inserter

@havardpe
Copy link
Member Author

@arnej27959 PTAL

@havardpe havardpe requested a review from arnej27959 September 26, 2024 12:15
arnej27959
arnej27959 previously approved these changes Sep 26, 2024
Copy link
Member

@arnej27959 arnej27959 left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@arnej27959 arnej27959 left a comment

Choose a reason for hiding this comment

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

👍

@havardpe havardpe merged commit 42859f0 into master Sep 26, 2024
6 checks passed
@havardpe havardpe deleted the havardpe/slime-json-decoder branch September 26, 2024 13:37
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