Skip to content

Remove Utf8JsonWriterExtensions.WriteObjectValue extension method #50509

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

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

live1206
Copy link
Member

Resolves #50508

@live1206 live1206 changed the title Clean up serialization Remove Utf8JsonWriterExtensions.WriteObjectValue extension method Jun 10, 2025
Copy link

github-actions bot commented Jun 10, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.Core.Expressions.DataFactory

};

[Test, TestCaseSource("ObjectCases")]
public static void WriteObjectValue (object value, string expectedJson)
Copy link
Member Author

Choose a reason for hiding this comment

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

The implementation is removed in this PR, remove the test as well

@live1206
Copy link
Member Author

pending on #50447

@live1206 live1206 marked this pull request as ready for review June 11, 2025 01:49
@live1206 live1206 requested a review from a team as a code owner June 11, 2025 01:49
@@ -55,7 +55,7 @@ public static RequestContent FromDictionary<T>(IDictionary<string, T> dictionary
foreach (var item in dictionary)
{
content.JsonWriter.WritePropertyName(item.Key);
content.JsonWriter.WriteObjectValue(item.Value);
Copy link
Member

Choose a reason for hiding this comment

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

This is not a test usage.

Copy link
Member Author

Choose a reason for hiding this comment

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

This file has been generated for each RP, the only usage is in test, move it to test project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Azure.Core] Clean up Utf8JsonExtensions.WriteObjectValue
2 participants