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

fix: Remove calls to deprecated OC_JSON::encode #44015

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Mar 5, 2024

Summary

to_string was useless because L10N string is json serializable now and serialize to string correctly. Removed all external calls to OC_JSON::encode to ease removing the rest of it later.

Checklist

@come-nc come-nc added the 3. to review Waiting for reviews label Mar 5, 2024
@come-nc come-nc added this to the Nextcloud 29 milestone Mar 5, 2024
@come-nc come-nc self-assigned this Mar 5, 2024
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

very clean!

@come-nc come-nc force-pushed the fix/remove-oc-json-encode-usages branch from a84d634 to 518eab4 Compare March 6, 2024 09:15
@susnux susnux requested review from a team, ArtificialOwl, icewind1991 and Fenn-CS and removed request for a team March 6, 2024 09:18
to_string was useless because L10N string is json serializable now and
serialize to string correctly. Removed all external calls to
OC_JSON::encode to ease removing the rest of it later.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the fix/remove-oc-json-encode-usages branch from 518eab4 to ead574b Compare March 6, 2024 09:42
@come-nc come-nc merged commit 28c3e40 into master Mar 6, 2024
160 checks passed
@come-nc come-nc deleted the fix/remove-oc-json-encode-usages branch March 6, 2024 16:14
@blizzz blizzz mentioned this pull request Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants