Skip to content

feat(core): add @Serializable-aware JSON serialization to the Json utility#71

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

feat(core): add @Serializable-aware JSON serialization to the Json utility#71
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_931048212

Conversation

@copybara-service

Copy link
Copy Markdown

feat(core): add @Serializable-aware JSON serialization to the Json utility

Adds Json.serializeToJsonElement, encoding a value to a JsonElement via
kotlinx.serialization for @Serializable types and the platform JSON utility
otherwise.

…ility

Adds `Json.serializeToJsonElement`, encoding a value to a `JsonElement` via
kotlinx.serialization for `@Serializable` types and the platform JSON utility
otherwise.

PiperOrigin-RevId: 931048212
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