Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Fix a json serializer bug. - #6722

#6722
Merged
tracyboehrer merged 17 commits into
microsoft:mainmicrosoft/botbuilder-dotnet:mainfrom
fangyangci:mainCopy head branch name to clipboard
Jan 8, 2024
Merged

Fix a json serializer bug.#6722
tracyboehrer merged 17 commits into
microsoft:mainmicrosoft/botbuilder-dotnet:mainfrom
fangyangci:mainCopy head branch name to clipboard

Conversation

@fangyangci

@fangyangci fangyangci commented Dec 31, 2023

Copy link
Copy Markdown
Contributor

Fixes #6723

Description

The streamingSession is using System.Text.Json to Deserialize string.
But, in libraries/Microsoft.Bot.Streaming/Payloads/Models/StreamDescription.cs (line 28), it using JsonProperty.
So, all the StreamContent type property will be lost.

Specific Changes

Using Newtonsoft.Json Instead of System.Text.Json.

Testing

Test locally, with attachment transfer to bot by websocket.

@fangyangci
fangyangci requested a review from a team as a code owner December 31, 2023 15:01
This was referenced May 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StreamingSession json serializer bug (Lost property ContentType).

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.