Skip to content

Add NewCodecForStandardJSONFullWithOptions - #315

Open
passuied wants to merge 1 commit into
linkedin:masterfrom
passuied:feature/standard-json-full-with-options
Open

passuied wants to merge 1 commit into
linkedin:masterfrom
passuied:feature/standard-json-full-with-options

Conversation

@passuied

Copy link
Copy Markdown
Contributor

Description

Adds NewCodecForStandardJSONFullWithOptions so callers can pass CodecOption (including EnableDecimalBinarySpecCompliantEncoding) when using the standard/internet JSON full codec path.

NewCodecForStandardJSONFull now delegates to the new helper with DefaultCodecOption(), preserving existing behavior.

This mirrors NewCodecWithOptions for the Avro JSON path and unblocks consumers (e.g. Dapr Kafka) that need both Standard JSON Full unions and opt-in spec-compliant decimal encoding.

Issue Reference

Follow-up to #302 / v2.15.0.

Made with Cursor

Allow CodecOption (including EnableDecimalBinarySpecCompliantEncoding)
to be used with the standard JSON full codec path, mirroring
NewCodecWithOptions for Avro JSON.

Co-authored-by: Cursor <cursoragent@cursor.com>
@passuied

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant