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 142 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 153 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 189 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 289 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 245 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 255 of file TBufferJSON.cxx.
      
  | 
  inline | 
return array with current index
Definition at line 217 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 237 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 239 of file TBufferJSON.cxx.
      
  | 
  inline | 
increment indexes and returns intermediate or last separator
Definition at line 265 of file TBufferJSON.cxx.
      
  | 
  inline | 
returns number of array dimensions
Definition at line 214 of file TBufferJSON.cxx.
      
  | 
  inline | 
Definition at line 222 of file TBufferJSON.cxx.
      
  | 
  inline | 
returns total number of elements in array
Definition at line 220 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 145 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 147 of file TBufferJSON.cxx.
Definition at line 150 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 148 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 149 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 146 of file TBufferJSON.cxx.
      
  | 
  protected | 
Definition at line 144 of file TBufferJSON.cxx.