Skip to content

Commit

Permalink
Fix RawJsonString serialization (#8051)
Browse files Browse the repository at this point in the history
  • Loading branch information
f1nzer authored and flobernd committed Mar 25, 2024
1 parent 5f73eb4 commit 01bd7ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace Elastic.Clients.Elasticsearch;
#endif

#if NET6_0_OR_GREATER
[JsonConverter(typeof(RawJsonConverter))]
public struct RawJsonString
{
public RawJsonString(string rawJson) => Json = rawJson;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
{
params: {
person: {
json: { "forename": "raw_json" }
forename: raw_json
}
},
source: source
Expand Down

0 comments on commit 01bd7ba

Please sign in to comment.