| 1 |
Native Kore JSON parser example. |
| 2 |
|
| 3 |
Run: |
| 4 |
``` |
| 5 |
$ kodev run |
| 6 |
``` |
| 7 |
|
| 8 |
Test: |
| 9 |
``` |
| 10 |
$ curl -i -k -d '{"foo":{"bar": "Hello world"}}' https://127.0.0.1:8888 |
| 11 |
``` |
| 12 |
|
| 13 |
The result should echo back the foo.bar JSON path value if it is a JSON string. |