Function deserializeJson is error
Created by: sipt91
#include <ArduinoJson.h> void setup() { Serial.begin(9600); char json[] = "11,12,13,14"; // wrong json format StaticJsonDocument<200> jsonBuffer; DeserializationError err = deserializeJson(jsonBuffer, json); Serial.print(F("err=")); Serial.println(err.c_str()); }
void loop() { }
=>Result: err=Ok