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

<!-- 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)/[parse](parse.md)

# parse

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

Parse JSON text; malformed text fails with `INVALID_ARGUMENT`.