Fix yamldecode example from json to yaml (#28220)
* Fix yamldecode example from json to yaml * inline yaml example
This commit is contained in:
parent
49c984ff77
commit
a9487c7674
|
@ -57,7 +57,7 @@ supports only a subset of YAML 1.2, with restrictions including the following:
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
```
|
```
|
||||||
> yamldecode("{\"hello\": \"world\"}")
|
> yamldecode("hello: world")
|
||||||
{
|
{
|
||||||
"hello" = "world"
|
"hello" = "world"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue