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

removing System.Text.Json dependency and instead using Azure.Core.Serialization.ObjectSerializer #138

Merged
merged 4 commits into from
Feb 18, 2021

Conversation

brettsam
Copy link
Member

Fixes #83

Copy link
Member

@fabiocav fabiocav left a comment

Choose a reason for hiding this comment

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

Two small comments here, but looks good, so flagging as approved.

public ObjectSerializer Serializer
{
get => _serializer ??= new JsonObjectSerializer();
set => _serializer = value;
Copy link
Member

Choose a reason for hiding this comment

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

Should we perform a null check on the value? Do we ever want to allow this to be set to null?

@brettsam brettsam merged commit 26e8ef0 into main Feb 18, 2021
@brettsam brettsam deleted the brettsam/json branch February 18, 2021 20:17
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.

Change JSON serialization to use ObjectSerializer
2 participants