jsonExampleOf

fun jsonExampleOf(clazz: Class<*>): String

Generates a JSON example of the given class with dummy data. Makes few shot examples easier to create.

Parameters

clazz

The class to generate a JSON example for.


inline fun <T> jsonExampleOf(): String

Generates a JSON example of the given class with dummy data. Makes few shot examples easier to create.

Parameters

T

The type to generate a JSON example for.