---
title: "of"
sidebar_label: "of"
description: "Kotlin binding reference: of."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../../index.md)/[io.clika.runtime](../../index.md)/[Json](../index.md)/[Companion](index.md)/[of](of.md)

# of

[common]\
fun [of](of.md)(value: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)): [Json](../index.md)

A boolean value.

[common]\
fun [of](of.md)(value: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)): [Json](../index.md)

An integer value.

[common]\
fun [of](of.md)(value: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)): [Json](../index.md)

A floating-point value.

[common]\
fun [of](of.md)(value: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [Json](../index.md)

A string value.