Skip to content

Use json! macro to simplify JSON serialization code #3889

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

Merged
merged 19 commits into from
Sep 4, 2021

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Sep 3, 2021 β€’

see https://docs.serde.rs/serde_json/macro.json.html

I guess +132 βˆ’349 speaks for itself πŸ˜…

@Turbo87 Turbo87 added C-internal πŸ”§ Category: Nonessential work that would make the codebase more consistent or clear A-backend βš™οΈ labels Sep 3, 2021
Copy link
Member

@0xPoe 0xPoe left a comment

Choose a reason for hiding this comment

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

It looks as simple as returning json in JavaScript!

Copy link
Member

@0xPoe 0xPoe left a comment

Choose a reason for hiding this comment

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

LGTM πŸ‘

@0xPoe
Copy link
Member

0xPoe commented Sep 4, 2021

If there are no other objections, please feel free to r=me.

@Turbo87
Copy link
Member Author

Turbo87 commented Sep 4, 2021

@bors r=hi-rustin

@bors
Copy link
Contributor

bors commented Sep 4, 2021

πŸ“Œ Commit 2c2536a has been approved by hi-rustin

@bors
Copy link
Contributor

bors commented Sep 4, 2021

βŒ› Testing commit 2c2536a with merge c00bc1c...

@bors
Copy link
Contributor

bors commented Sep 4, 2021

β˜€οΈ Test successful - checks-actions
Approved by: hi-rustin
Pushing c00bc1c to master...

@bors bors merged commit c00bc1c into rust-lang:master Sep 4, 2021
@Turbo87 Turbo87 deleted the json-macro branch September 6, 2021 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend βš™οΈ C-internal πŸ”§ Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants