#include <JSONBuilder.h>
 | 
|   | JSONObjectBuilder (bool pretty=true) | 
|   | Constructs new instance.  
  | 
|   | 
| JSONObjectBuilder &  | property (const char *name, const JSONArrayBuilder &array) | 
|   | Adds JSON array property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const char *name, const JSONObjectBuilder &object) | 
|   | Adds JSON object property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const char *name, bool value) | 
|   | Adds boolean property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const char *name, const char *value, bool evenIfValueEmpty=false) | 
|   | Adds string property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const char *name, const std::string &value, bool evenIfValueEmpty=false) | 
|   | Adds string property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const char *name, int value) | 
|   | Adds int property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const char *name, std::int64_t value) | 
|   | Adds int64-property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const char *name, std::uint64_t value) | 
|   | Adds uin64t-property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const std::string &name, const JSONArrayBuilder &array) | 
|   | Adds JSON array property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const std::string &name, const JSONObjectBuilder &object) | 
|   | Adds JSON object property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const std::string &name, bool value) | 
|   | Adds boolean property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const std::string &name, const char *value, bool evenIfValueEmpty=false) | 
|   | Adds string property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const std::string &name, const std::string &value, bool evenIfValueEmpty=false) | 
|   | Adds string property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const std::string &name, int value) | 
|   | Adds int property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const std::string &name, std::int64_t value) | 
|   | Adds int64 property.  
  | 
|   | 
| JSONObjectBuilder &  | property (const std::string &name, std::uint64_t value) | 
|   | Adds uint64 property.  
  | 
|   | 
 | 
| 
class  | JSONBuilder | 
|   | 
| 
class  | JSONArrayBuilder | 
|   | 
◆ JSONObjectBuilder()
  
  
      
        
          | tenduke::json::JSONObjectBuilder::JSONObjectBuilder  | 
          ( | 
          bool |           pretty = true | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Constructs new instance. 
- Parameters
 - 
  
  
 
 
 
◆ property() [1/16]
Adds boolean property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [2/16]
      
        
          | xdjson::JSONObjectBuilder & tenduke::json::JSONObjectBuilder::property  | 
          ( | 
          const char * |           name,  | 
        
        
           | 
           | 
          const char * |           value,  | 
        
        
           | 
           | 
          bool |           evenIfValueEmpty = false ) | 
        
      
 
Adds string property. 
- Parameters
 - 
  
    | name | -  | 
    | value | -  | 
    | evenIfValueEmpty | -  | 
  
   
- Returns
 - - 
 
 
 
◆ property() [3/16]
Adds JSON array property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [4/16]
Adds JSON object property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [5/16]
      
        
          | xdjson::JSONObjectBuilder & tenduke::json::JSONObjectBuilder::property  | 
          ( | 
          const char * |           name,  | 
        
        
           | 
           | 
          const std::string & |           value,  | 
        
        
           | 
           | 
          bool |           evenIfValueEmpty = false ) | 
        
      
 
Adds string property. 
- Parameters
 - 
  
    | name | -  | 
    | value | -  | 
    | evenIfValueEmpty | -  | 
  
   
- Returns
 - - 
 
 
 
◆ property() [6/16]
Adds int property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [7/16]
Adds int64-property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [8/16]
Adds uin64t-property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [9/16]
Adds boolean property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [10/16]
      
        
          | xdjson::JSONObjectBuilder & tenduke::json::JSONObjectBuilder::property  | 
          ( | 
          const std::string & |           name,  | 
        
        
           | 
           | 
          const char * |           value,  | 
        
        
           | 
           | 
          bool |           evenIfValueEmpty = false ) | 
        
      
 
Adds string property. 
- Parameters
 - 
  
    | name | -  | 
    | value | -  | 
    | evenIfValueEmpty | -  | 
  
   
- Returns
 - - 
 
 
 
◆ property() [11/16]
      
        
          | xdjson::JSONObjectBuilder & tenduke::json::JSONObjectBuilder::property  | 
          ( | 
          const std::string & |           name,  | 
        
        
           | 
           | 
          const JSONArrayBuilder & |           array ) | 
        
      
 
Adds JSON array property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [12/16]
Adds JSON object property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [13/16]
      
        
          | xdjson::JSONObjectBuilder & tenduke::json::JSONObjectBuilder::property  | 
          ( | 
          const std::string & |           name,  | 
        
        
           | 
           | 
          const std::string & |           value,  | 
        
        
           | 
           | 
          bool |           evenIfValueEmpty = false ) | 
        
      
 
Adds string property. 
- Parameters
 - 
  
    | name | -  | 
    | value | -  | 
    | evenIfValueEmpty | -  | 
  
   
- Returns
 - - 
 
 
 
◆ property() [14/16]
Adds int property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [15/16]
Adds int64 property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
◆ property() [16/16]
Adds uint64 property. 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
 
 
The documentation for this class was generated from the following files:
- core/core/src/json/JSONBuilder.h
 
- core/core/src/json/JSONBuilder.cpp