Code examples

Here are some examples that show how to parse JSON documents in Javascript and JSON and XML documents in Java.

Javascript

This Javascript example fetches the JSON document containing all the stations for parameter 4 and creates a list that is added to the HTML body tag.

...

Java, JSON

This Java example parses JSON and creates strings containing parameters, stations, periods and data.

...

Java, XML

This Java example parses XML and creates strings containing parameters, stations, periods and data.

...