Skip to content

Add ToStringPretty() multi-line serializer to the serde_json bridge. - #116

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_978581248
Open

Add ToStringPretty() multi-line serializer to the serde_json bridge.#116
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_978581248

Conversation

@copybara-service

Copy link
Copy Markdown

Add ToStringPretty() multi-line serializer to the serde_json bridge.

The serde_json bridge exposed only compact (ToString) and single-line-spaced
(ToStringSpaced) serializers. Add ToStringPretty(), backed by serde_json's
built-in multi-line PrettyFormatter (two-space indent), for callers that need
human-readable JSON output.

The serde_json bridge exposed only compact (ToString) and single-line-spaced
(ToStringSpaced) serializers. Add ToStringPretty(), backed by serde_json's
built-in multi-line PrettyFormatter (two-space indent), for callers that need
human-readable JSON output.

PiperOrigin-RevId: 978581248
@google-cla

google-cla Bot commented Sep 9, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

0 participants