dotnet / SqlClient

Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
MIT License
857 stars 286 forks source link

Implement read and write functionality for JSON #2829

Closed deepaksa1 closed 2 months ago

deepaksa1 commented 2 months ago

This PR is designed to introduce both reading and writing capabilities for JSON data type. To test them, please execute TestJsonRead and TestJsonWrite under JsonTest

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 57.62712% with 25 lines in your changes missing coverage. Please review.

Project coverage is 72.11%. Comparing base (d89372a) to head (e3840b9). Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
...nt/netfx/src/Microsoft/Data/SqlClient/TdsParser.cs 55.55% 12 Missing :warning:
.../netcore/src/Microsoft/Data/SqlClient/TdsParser.cs 59.25% 11 Missing :warning:
...SqlClient/src/Microsoft/Data/SqlClient/SqlEnums.cs 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2829 +/- ## ========================================== + Coverage 72.02% 72.11% +0.08% ========================================== Files 299 299 Lines 61430 61457 +27 ========================================== + Hits 44246 44320 +74 + Misses 17184 17137 -47 ``` | [Flag](https://app.codecov.io/gh/dotnet/SqlClient/pull/2829/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | Coverage Δ | | |---|---|---| | [addons](https://app.codecov.io/gh/dotnet/SqlClient/pull/2829/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `92.90% <ø> (ø)` | | | [netcore](https://app.codecov.io/gh/dotnet/SqlClient/pull/2829/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `76.07% <58.06%> (+0.10%)` | :arrow_up: | | [netfx](https://app.codecov.io/gh/dotnet/SqlClient/pull/2829/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `70.26% <54.83%> (+0.04%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.