value

open fun value(@Nullable object: Any, shouldRedactKeys: Boolean)
open fun value(@Nullable object: Any)

Serialises an arbitrary object as JSON, handling primitive types as well as Collections, Maps, and arrays.


open fun value(@NonNull file: File)

Writes a File (its content) into the stream