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 2761 of file json.hpp.

View newest version in sPHENIX GitHub at line 2761 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 22960 of file json.hpp.

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

Referenced by ALICEKF::ALICEKalmanFilter(), nlohmann::basic_json::at(), BeamLineDefineBeamPipe(), Acts::Test::Layers::BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), MakeActsGeometry::buildActsSurfaces(), PHG4TTLDetector::BuildBarrelTTL(), PHG4TTLDetector::BuildForwardTTL(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_array_size(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_entry_header_size(), PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), PHG4EPDDetector::construct_block(), EICG4ZDCStructure::ConstructCrystalTowers(), EICG4ZDCStructure::ConstructEMLayers(), EICG4ZDCStructure::ConstructHCSciLayers(), PHG4ECAPToFDetector::ConstructMe(), G4JLeicVTXDetector::ConstructMe(), EICG4RPDetector::ConstructMe(), G4JLeicDIRCDetector::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(), Acts::GeometryView3D::drawTrackingVolume(), nlohmann::detail::serializer< BasicJsonType >::dump_escaped(), EICG4dRICHGas::EICG4dRICHGas(), nlohmann::basic_json::erase(), PHG4ProjCrystalCalorimeterDetector::Fill4x4Unit(), PHG4ProjCrystalCalorimeterDetector::FillSpecialUnit(), nlohmann::json_pointer< BasicJsonType >::flatten(), 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(), KFParticle_nTuple::initializeBranches(), LiteCaloEval::InitRun(), InputInit(), InputManagers(), nlohmann::detail::int_to_string(), main(), MakeActsGeometry::makeGeometry(), Mat_map(), nlohmann::basic_json::meta(), nlohmann::detail::exception::name(), nlohmann::json_pointer< BasicJsonType >::operator std::string(), ActsExamples::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(), Fun4AllHepMCInputManager::PushBackEvents(), Fun4AllHepMCPileupInputManager::PushBackEvents(), dfe::io_dsv_impl::DsvReader< Delimiter >::read(), dfe::io_dsv_impl::NamedTupleDsvReader< Delimiter, NamedTuple >::read(), ActsExamples::Sequencer::run(), 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(), ActsExamples::SimMultiTrajectory::trackParameters(), ActsExamples::TrkrClusterMultiTrajectory::trackParameters(), BeastMagnetSteppingAction::UserSteppingAction(), ActsExamples::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().