Home / Companies / InfluxData / Blog / Post Details
Content Deep Dive

TL;DR InfluxDB Tech Tips: Handling JSON Objects and Mapping Through Arrays

Blog post from InfluxData

Post Details
Company
Date Published
Author
Anais Dotis-Georgiou
Word Count
1,642
Language
English
Hacker News Points
-
Summary

In this article, Anais Dotis-Georgiou explains how to use Flux to bring in data from various sources, including SQL databases and JSON objects. She provides four examples of using Flux with increasingly complex JSON types, including extracting top-level values, mapping across arrays, handling nested arrays, and evaluating whether values exist or not. The article also covers an example using the OpenWeatherMap API to gather weather data and write it to InfluxDB. With these examples, users can learn how to use Flux to manipulate JSON objects and create tables for ingestion into InfluxDB.