OPCFoundation / UA-.NETStandard

OPC Unified Architecture .NET Standard
Other
1.97k stars 950 forks source link

Good StatusCode incorrectly encoded in JSON Verbose encoding #2788

Closed ZbynekZ closed 1 month ago

ZbynekZ commented 1 month ago

Type of issue

Current Behavior

JsonEncoder.WriteStatusCode does not write out anything when EncodingToUse is Verbatim, and is passed in Good StatusCode.

This is with 1.5.374.124.

Expected Behavior

An empty JSON object ("{ }") should be encoded in this case.

Steps To Reproduce

No response

Environment

- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:

Anything else?

No response