JSON array separators for multi-dimensional JSON arrays It fully reproduces array dimensions as in original ROOT classes Contrary to binary I/O, which always writes flat arrays.
Definition at line 149 of file TBufferJSON.cxx.
Public Member Functions | |
| TArrayIndexProducer (TDataMember *member, Int_t extradim, const char *separ) | |
| TArrayIndexProducer (TStreamerElement *elem, Int_t arraylen, const char *separ) | |
| nlohmann::json * | ExtractNode (nlohmann::json *topnode, bool next=true) | 
| const char * | GetBegin () | 
| const char * | GetEnd () | 
| TArrayI & | GetIndices () | 
| return array with current index   | |
| Bool_t | IsArray () const | 
| Bool_t | IsDone () const | 
| const char * | NextSeparator () | 
| increment indexes and returns intermediate or last separator   | |
| Int_t | NumDimensions () const | 
| returns number of array dimensions   | |
| Int_t | ReduceDimension () | 
| Int_t | TotalLength () const | 
| returns total number of elements in array   | |
Protected Attributes | |
| Int_t | fCnt {-1} | 
| TArrayI | fIndicies | 
| Bool_t | fIsArray {kFALSE} | 
| TArrayI | fMaxIndex | 
| TString | fRes | 
| const char * | fSepar {nullptr} | 
| Int_t | fTotalLen {0} | 
      
  | 
  inline | 
Definition at line 160 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 196 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 296 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 252 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 262 of file TBufferJSON.cxx.
      
  | 
  inline | 
return array with current index
Definition at line 224 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 244 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 246 of file TBufferJSON.cxx.
      
  | 
  inline | 
increment indexes and returns intermediate or last separator
Definition at line 272 of file TBufferJSON.cxx.
      
  | 
  inline | 
returns number of array dimensions
Definition at line 221 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 229 of file TBufferJSON.cxx.
      
  | 
  inline | 
returns total number of elements in array
Definition at line 227 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 152 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 154 of file TBufferJSON.cxx.
Definition at line 157 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 155 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 156 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 153 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 151 of file TBufferJSON.cxx.