mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 13:09:02 -04:00
14 lines
230 B
Markdown
14 lines
230 B
Markdown
|
Native Kore JSON parser example.
|
|||
|
|
|||
|
Run:
|
|||
|
```
|
|||
|
$ kodev run
|
|||
|
```
|
|||
|
|
|||
|
Test:
|
|||
|
```
|
|||
|
$ curl -i -k -d '{"foo":{"bar": "Hello world"}}' https://127.0.0.1:8888
|
|||
|
```
|
|||
|
|
|||
|
The result should echo back the foo.bar JSON path value if it is a JSON string.
|