Skip to content

Add kt/json examples to JsonBuilder configuration properties #2162

Open
@carstenhag

Description

@carstenhag

What is your use-case and why do you need this feature?

I wanted to see what the option explicitNulls https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-json/kotlinx.serialization.json/-json-builder/explicit-nulls.html (and other options) changes to the (de)serialization behavior.

While it is described in words, kotlin/JSON examples help a lot to grasp it in "easier terms".

Describe the solution you'd like

Other kotlin api references like the following have code examples/embedded playgrounds:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions