Lesson 31. Building schemas from live data

Hopefully, you enjoyed using type providers in the previous lesson; this lesson builds on that one. You’ll explore the notion of building types from live data sources that exist outside your code base. You’ll learn about

  • Creating schemas from type providers from remote data sources
  • Mixing local and remote data sources
  • Avoiding issues when working with remote data sources

31.1. Working with JSON

In this section, we’ll cover the basics of working with JSON data files with type providers.

31.1.1. Live and local files

In the previous lesson, you saw how to work with a type provider operating against a local data source—a CSV file placed on the local filesystem. As it turns out, many type providers also ...

Get Get Programming with F# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.