Skip to content

Commit

Permalink
Update scalar-functions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrrr authored Jan 18, 2022
1 parent 93ff732 commit e50f1ea
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/developer-guide/ksqldb-reference/scalar-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,14 @@ Returns `false` if the first parameter does not contain a JSON array.

Since: 0.25.0

```sql
is_json_string(json_string) -> Boolean
```

Given a string, returns `true` if it can be parsed as a valid JSON value, `false` otherwise.

Examples:

```sql
is_json_string("[1, 2, 3]") => true
is_json_string("{}") => true
Expand All @@ -506,8 +514,6 @@ is_json_string("abc") => false
is_json_string(NULL) => false
```

Given a string, returns `true` if it can be parsed as a valid JSON value, `false` otherwise.

### `MAP`

Since: 0.7.0
Expand Down

0 comments on commit e50f1ea

Please sign in to comment.