Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10993

ROOT fails in loading nlohmann/json

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.22/00
    • 6.24/00, 6.22/04
    • Cling
    • None
    • Linux

    Description

      This file causes root to segfault,  The .hpp file is a single file that can be loaded from github

      #include "nlohmann/json.hpp"
      namespace nl = nlohmann;
      auto bundle = nl::json::object();
      bundle["text/plain"] = "foo";
      bundle

      Attachments

        Activity

          People

            slinev Serguei Linev
            15815aff9d4b94cfe3a3 Joseph Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: