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

ADT: Bug fix: serialization issue with strings which starts with a numeric value. #21623

Merged
merged 5 commits into from
May 18, 2021

Conversation

azabbasi
Copy link
Contributor

We have a custom serialization layer which makes sure that a string is a Json payload and based on that logic writes the value into the json generator.
The logic where we decide whether or not a string value is a valid json, automatically decides that a string value that starts with a number is a valid json payload and writes the value which is a number to the json generator.

By making sure that either the input string is a container node or is a simple text, we can avoid this issue.

@azabbasi azabbasi merged commit ac81982 into master May 18, 2021
@azabbasi azabbasi deleted the feature/adt/azabbasi/fixNumericStringValueProperties branch May 18, 2021 21:55
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-java that referenced this pull request Nov 22, 2022
{containerregistry} Fix Azure#21603: Mention anonymous pull access is a preview feature, available in the Standard and Premium service tiers (Azure#21623)

Fixes Azure/azure-rest-api-specs#21603
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.

4 participants