Tag Archives: JSON

Get a weather forecast from openweathermap.org in C#

This example displays a weather forecast from openweathermap.org. To get a forecast or other data, you build a URL describing your request and navigate to it. You then parse the returned XML or JSON data to see what openweathermap.org has … Continue reading

Posted in internet, web, XML | Tagged , , , , , , , , , , , | Leave a comment

Extract part of a JSON file in C#

This example shows how to read a JSON file and pick out only the pieces that are interesting. Recall from my post Anatomy of an example that my original goal with this series of articles was to write a program … Continue reading

Posted in algorithms, files, serialization | Tagged , , , , , , , , , , , , , | 1 Comment

Use JSON to serialize and deserialize objects in C#

JSON (JavaScript Object Notation) is a standard for textual storage and interchange of information, much as XML is. Before you roll your eyes and ask if we really need another language to do what XML does, consider how verbose XML … Continue reading

Posted in algorithms, serialization | Tagged , , , , , , , , , , , , | 1 Comment