Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

gcc 4.9.3

Options
Warnings
Boost 1.64.0
C++14(GNU)
no pedantic

ArduinoJson.h

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.64.0/gcc-4.9.3/include -std=gnu++14
{
  "Name": "Doc1",
  "Text": "This is not too much text for Doc1 and Doc2 but certainly too much for Doc3"
}{
  "Name": "Doc2",
  "Doc1": {
    "Name": "Doc1",
    "Text": "This is not too much text for Doc1 and Doc2 but certainly too much for Doc3"
  }
}{
  "Name": "Doc3",
  "Doc1": {
    "Name": "Doc1",
    "Text": null
  }
}
Exit Code:
0