kore/examples/json
Joris Vink f6cd16c567 Replace static/dynamic with a single option: route
Kore will automatically detect if a route is a dynamic or static one
so there is no need for the configuration options to differ anymore.
2019-11-15 08:11:02 +01:00
..
conf Replace static/dynamic with a single option: route 2019-11-15 08:11:02 +01: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.