kore/examples/json
Joris Vink 5f03f991c9 Change kore_json_find() to operate on a kore_json_item.
This way you can call the lookup function on any JSON value that you
previously obtained (or the JSON context root).
2019-10-25 12:27:16 +02:00
..
conf Add native JSON parser example 2019-10-20 23:40:08 +02:00
src Change kore_json_find() to operate on a kore_json_item. 2019-10-25 12:27:16 +02:00
.gitignore Add native JSON parser example 2019-10-20 23:40:08 +02:00
README.md Add native JSON parser example 2019-10-20 23:40:08 +02:00

README.md

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.