ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nlohmann Namespace Reference

namespace for Niels Lohmann More...

Namespaces

namespace  detail
 detail namespace with internal helper functions
 

Classes

struct  adl_serializer
 
struct  json_sax
 SAX interface. More...
 
class  json_pointer
 
class  basic_json
 a class to store JSON values More...
 

Typedefs

using json = basic_json<>
 default JSON class
 

Functions

NLOHMANN_BASIC_JSON_TPL_DECLARATION
std::string 
to_string (const NLOHMANN_BASIC_JSON_TPL &j)
 user-defined to_string function for JSON values
 

Detailed Description

namespace for Niels Lohmann

namespace to hold default to_json function

See Also
https://github.com/nlohmann
Since
version 1.0.0

Typedef Documentation

using nlohmann::json = typedef basic_json<>

default JSON class

This type is the default specialization of the basic_json class which uses the standard template types.

Since
version 1.0.0

Definition at line 2445 of file json.hpp.

View newest version in sPHENIX GitHub at line 2445 of file json.hpp

Function Documentation

NLOHMANN_BASIC_JSON_TPL_DECLARATION std::string nlohmann::to_string ( const NLOHMANN_BASIC_JSON_TPL j)

user-defined to_string function for JSON values

This function implements a user-defined to_string for JSON objects.

Parameters
[in]ja JSON object
Returns
a std::string object

Definition at line 22620 of file json.hpp.

View newest version in sPHENIX GitHub at line 22620 of file json.hpp

Referenced by ALICEKF::ALICEKalmanFilter(), G4GDMLWriteStructure::AssemblyWrite(), nlohmann::basic_json::at(), DicomRunAction::BeginOfRunAction(), CCalRunAction::Book(), Acts::Test::BOOST_AUTO_TEST_CASE(), DicomFilePET::BuildActivities(), MakeActsGeometry::buildActsSurfaces(), PHG4TTLDetector::BuildBarrelTTL(), PHG4TTLDetector::BuildForwardTTL(), DicomFileCT::BuildMaterials(), DicomFileCT::BuildStructureIDs(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_array_size(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_entry_header_size(), DicomFileMgr::CheckNColumns(), PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), PHG4EPDDetector::construct_block(), EICG4ZDCStructure::ConstructCrystalTowers(), EICG4ZDCStructure::ConstructEMLayers(), EICG4ZDCStructure::ConstructHCSciLayers(), PHG4ECAPToFDetector::ConstructMe(), G4JLeicDIRCDetector::ConstructMe(), G4JLeicVTXDetector::ConstructMe(), EICG4RPDetector::ConstructMe(), PHG4EPDDetector::ConstructMe(), PHG4ZDCDetector::ConstructMe(), PHG4ForwardDualReadoutDetector::ConstructMe(), PHG4ProjCrystalCalorimeterDetector::ConstructProjectiveCrystals(), PHG4LFHcalDetector::ConstructTower(), PHG4ForwardDualReadoutDetector::ConstructTower(), PHG4ForwardEcalDetector::ConstructTower(), nlohmann::detail::parse_error::create(), create_element(), PHPythia8::create_node_tree(), det::createTkLayoutTrackerBarrel(), det::createTkLayoutTrackerEndcap(), Acts::JsonGeometryConverter::detectorRepToJson(), nlohmann::basic_json::diff(), nlohmann::detail::serializer< BasicJsonType >::dump_escaped(), DicomBeamDevicePos::DumpToFile(), DicomBeam::DumpToFile(), EICG4dRICHGas::EICG4dRICHGas(), nlohmann::basic_json::erase(), PHG4ProjCrystalCalorimeterDetector::Fill4x4Unit(), PHG4ProjCrystalCalorimeterDetector::FillSpecialUnit(), nlohmann::json_pointer< BasicJsonType >::flatten(), for(), Fun4All_ReadDST_eIDML(), Fun4All_runEvaluators(), nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_bson_string(), nlohmann::json_pointer< BasicJsonType >::get_checked(), RawClusterv1::get_et_iso(), nlohmann::json_pointer< BasicJsonType >::get_unchecked(), ArgParser::get_value(), DicomFileMgr::GetMaterialIndex(), DicomFileMgr::GetMaterialIndexByDensity(), DicomFileMgr::Hounsfield2density(), KFParticle_nTuple::initializeBranches(), LiteCaloEval::InitRun(), InputInit(), InputManagers(), nlohmann::detail::int_to_string(), G4GoudsmitSaundersonTable::LoadMSCData(), G4SBBremTable::LoadSamplingTables(), MakeActsGeometry::makeGeometry(), Mat_map(), nlohmann::basic_json::meta(), nlohmann::detail::exception::name(), nlohmann::json_pointer< BasicJsonType >::operator std::string(), FW::SimSourceLink::operator*(), nlohmann::json_pointer< BasicJsonType >::operator/=(), nlohmann::basic_json::patch(), PHG4DetectorSubsystem::PHG4DetectorSubsystem(), plot(), plot_ratio(), nlohmann::detail::parse_error::position_string(), RawTowerZDCCalibration::process_event(), RawTowerCalibration::process_event(), RawTowerZDCDigitizer::process_event(), RawTowerDigitizer::process_event(), processGeometry(), ProcessSingleFile(), Fun4AllHepMCInputManager::PushBackEvents(), Fun4AllHepMCPileupInputManager::PushBackEvents(), dfe::io_dsv_impl::DsvReader< Delimiter >::read(), dfe::io_dsv_impl::NamedTupleDsvReader< Delimiter, NamedTuple >::read(), DicomVFile::Read1Data(), DicomVFile::Read1DataStr(), DicomFileStructure::ReadData(), FW::Sequencer::run(), G4SBBremTable::SampleEnergyTransfer(), TPCDaqDefs::FEEv1::SampleFit_PowerLawDoubleExp(), RawClusterv1::set_et_iso(), PHG4mRICHDetector::mRichParameter::SetPar_glassWindow(), PHG4mRICHDetector::mRichParameter::SetPar_sensor(), nlohmann::detail::json_sax_dom_parser< BasicJsonType >::start_array(), nlohmann::detail::json_sax_dom_callback_parser< BasicJsonType >::start_array(), nlohmann::detail::json_sax_dom_parser< BasicJsonType >::start_object(), nlohmann::detail::json_sax_dom_callback_parser< BasicJsonType >::start_object(), Acts::Test::testPlyString(), Acts::ActsExtension::toString(), Acts::CylinderVolumeBuilder::trackingVolume(), G4GDMLWriteStructure::TraverseVolumeTree(), BeastMagnetSteppingAction::UserSteppingAction(), FW::Obj::ObjSurfaceWriter::write(), FW::RootMaterialWriter::write(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_bson_array(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_bson_unsigned(), dfe::NamedTupleNumpyWriter< NamedTuple >::write_header(), and nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_number_with_ubjson_prefix().