Here are two methods that can help transform the JSON wind data returned by Openweathermap API into units that users will find easier to understand. I have used these in my own application to convert a JSON response of: into: Wind speed: 12.75 mph in a North East direction. speed […]
Estimated reading time: 2 minutes
The one sentence overview Generate C# classes from a JSON response. Why bother? Why not just use var? Like everything in programming it depends. For the application I am developing I like the comfort of compile time validation along with the ability to lean on IntelliSense when I need to. […]
Estimated reading time: 2 minutes
One sentence summary This post will show you how to use a locally stored JSON schema to validate a JSON document. Set up In the context of this post, locally stored means the files are located somewhere on your computer. For the examples used here, both the schema and the […]
Estimated reading time: 3 minutes
In a previous post I explained how to save a Twitter stream to a MongoDB using C#. In this post I will show you how to build an ASP.NET MVC application to display those records. The example that follows was built using Visual Studio 2015 Community Edition and MongoDB 3.4.6. […]
Estimated reading time: 6 minutes
Whilst attending the UKOUG Tech16 conference, several of the talks I attended mentioned the use of JSON (or to give it’s full name JavaScript Object Notation) These talks made me realise how little I actually knew about this Data Interchange Format. There are many resources for learning JSON, from […]
Estimated reading time: 1 minute