akismet-kotlin/docs/net.thauvin.erik.akismet/-akismet/json-comment.md
2020-03-05 22:46:41 -08:00

12 lines
582 B
Markdown

[docs](../../index.md) / [net.thauvin.erik.akismet](../index.md) / [Akismet](index.md) / [jsonComment](./json-comment.md)
# jsonComment
`@JvmStatic fun jsonComment(json: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`AkismetComment`](../-akismet-comment/index.md) [(source)](https://github.com/ethauvin/akismet-kotlin/tree/master/src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt#L67)
(Re)Create a [comment](../-akismet-comment/index.md) from a JSON string.
**See Also**
[AkismetComment.toString](../-akismet-comment/to-string.md)