#include <iostream>
#include "ArduinoJson.h"
void setup() {
    // put your setup code here, to run once:
    Serial.begin(115200);
    Serial.println("Hello, ESP32!");
    StaticJsonDocument<300> doc;
    char json[] ="[[48.756080, 2.302038], [48.756080, 2.302038]]";
    DeserializationError error = deserializeJson(doc, json);
    if (error) {
      std::cerr << "deserializeJson() failed: " << error.c_str() << std::endl;
    }
    // Print values.
    double longitude = doc[0][0];
    std::cout << longitude << std::endl;
}
void loop() {
  // put your main code here, to run repeatedly:
  delay(10); // this speeds up the simulation
}