| Import line: | ClutterJson = imports.gi.ClutterJson; | 
| GIR File: | ClutterJson-1.0.gir | 
| C documentation: | ClutterJsonJsonArray | 
| Struct : | JsonArray | 
| Show / Hide Inherited methods, properties and signals | 
| None | 
| Method / Constructor | Defined By | |
|---|---|---|
| 
                
		 
			new  ClutterJson.JsonArray.c_new
				
				 () 
			
				
					 : 
					ClutterJson.JsonArray
					
				
			
		 
                Create a new ClutterJson.JsonArray  
		 
		 
                    
			
			
			
				Create a new ClutterJson.JsonArray
			
			
			
			 
			
			
				                     
                
  | 
            ||
| 
                
		 
			add_array_element
				
				 (JsonArray value) 
			
				
					 : 
					none
					
				
			
		 
                Conveniently adds an array into array.  
		 
		 
		 
                    
			
				Conveniently adds an array into array. The array takes ownership of the newly added JsonArray
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			add_boolean_element
				
				 (Boolean value) 
			
				
					 : 
					none
					
				
			
		 
                Conveniently adds a boolean value into array  
		 
		 
		 
                    
			
				Conveniently adds a boolean value into array
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			add_double_element
				
				 (Number value) 
			
				
					 : 
					none
					
				
			
		 
                Conveniently adds a floating point value into array  
		 
		 
		 
                    
			
				Conveniently adds a floating point value into array
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			add_element
				
				 (JsonNode node) 
			
				
					 : 
					none
					
				
			
		 
                Appends node inside array.  
		 
		 
		 
                    
			
				Appends node inside array. The array will take ownership of the JsonNode.
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			add_int_element
				
				 (Number value) 
			
				
					 : 
					none
					
				
			
		 
                Conveniently adds an integer value into array  
		 
		 
		 
                    
			
				Conveniently adds an integer value into array
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			add_null_element
				
				 () 
			
				
					 : 
					none
					
				
			
		 
                Conveniently adds a null element into array  
		 
		 
		 
                    
			
				Conveniently adds a null element into array
		    
				
			
			
			
			
			
			 
			
			
				                     
                
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			add_object_element
				
				 (JsonObject value) 
			
				
					 : 
					none
					
				
			
		 
                Conveniently adds an object into array.  
		 
		 
		 
                    
			
				Conveniently adds an object into array. The array takes ownership of the newly added JsonObject
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			add_string_element
				
				 (String value) 
			
				
					 : 
					none
					
				
			
		 
                Conveniently adds a string value into array  
		 
		 
		 
                    
			
				Conveniently adds a string value into array
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			dup_element
				
				 (Number index_) 
			
				
					 : 
					ClutterJson.JsonNode
					
				
			
		 
                Retrieves a copy of the JsonNode containing the value of the element at index_ inside a JsonArray  
		 
		 
		 
                    
			
				Retrieves a copy of the JsonNode containing the value of the element at index_ inside a JsonArray
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		
                 Iterates over all elements of array and calls func on each one of them.  
		 
		 
		 
                    
			
				Iterates over all elements of array and calls func on each one of them. It is safe to change the value of a JsonNode of the array from within the iterator func, but it is not safe to add or remove elements from the array.
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			get_array_element
				
				 (Number index_) 
			
				
					 : 
					ClutterJson.JsonArray
					
				
			
		 
                Conveniently retrieves the array from the element at index_ inside array  
		 
		 
		 
                    
			
				Conveniently retrieves the array from the element at index_ inside array
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| ClutterJson.JsonArray | ||
| ClutterJson.JsonArray | ||
| 
                
		 
			get_element
				
				 (Number index_) 
			
				
					 : 
					ClutterJson.JsonNode
					
				
			
		 
                Retrieves the JsonNode containing the value of the element at index_ inside a JsonArray.  
		 
		 
		 
                    
			
				Retrieves the JsonNode containing the value of the element at index_ inside a JsonArray.
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| 
                
		 
			get_elements
				
				 () 
			
				
					 : 
					Array
					
				
			
		 
                Gets the elements of a JsonArray as a list of JsonNodes.  
		 
		 
		 
                    
			
				Gets the elements of a JsonArray as a list of JsonNodes.
		    
				
			
			
			
			
			
			 
			
			
				                     
                
  | 
            ClutterJson.JsonArray | |
| ClutterJson.JsonArray | ||
| 
                
		 
			get_length
				
				 () 
			
				
					 : 
					Number
					
				
			
		 
                Retrieves the length of a JsonArray  
		 
		 
		 
                    
			
				Retrieves the length of a JsonArray
		    
				
			
			
			
			
			
			 
			
			
				                     
                
  | 
            ClutterJson.JsonArray | |
| ClutterJson.JsonArray | ||
| 
                
		 
			get_object_element
				
				 (Number index_) 
			
				
					 : 
					ClutterJson.JsonObject
					
				
			
		 
                Conveniently retrieves the object from the element at index_ inside array  
		 
		 
		 
                    
			
				Conveniently retrieves the object from the element at index_ inside array
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| ClutterJson.JsonArray | ||
| 
                
		 
			remove_element
				
				 (Number index_) 
			
				
					 : 
					none
					
				
			
		 
                Removes the JsonNode inside array at index_ freeing its allocated resources.  
		 
		 
		 
                    
			
				Removes the JsonNode inside array at index_ freeing its allocated resources.
		    
				
			
			
			
			
				                     
                
 
  | 
            ClutterJson.JsonArray | |
| None | 
| Class / Namespace | Method / Signal / Properties | 
|---|---|
| 
		
			ClutterJson
             Method  | 
            
            
 
	   
            
                
		
                 Creates a new JsonArray with n_elements slots already allocated.  
		 
		 
		 
                 
		     
              
             | 
            
        
        
| 
		
			ClutterJson.JsonNode
             Method  | 
            
            
 
	   
            
                
		 
			set_array
				
				 (JsonArray array) 
			
				
					 : 
					none
					
				
			
		 
                Sets array inside node and increases the JsonArray reference count  
		 
		 
		 
                 
		     
              
             | 
            
        
        
| 
		
			ClutterJson.JsonNode
             Method  | 
            
            
 
	   
            
                
		 
			take_array
				
				 (JsonArray array) 
			
				
					 : 
					none
					
				
			
		 
                Sets array into node without increasing the JsonArray reference count.  
		 
		 
		 
                 
		     
              
             | 
            
        
        
| 
		
			ClutterJson.JsonNode
             Method  | 
            
            
 
	   
            
                
		 
			get_array
				
				 () 
			
				
					 : 
					ClutterJson.JsonArray
					
				
			
		 
                Retrieves the JsonArray stored inside a JsonNode  
		 
		 
		 
                 
		     
              
             | 
            
        
        
| 
		
			ClutterJson.JsonNode
             Method  | 
            
            
 
	   
            
                
		 
			dup_array
				
				 () 
			
				
					 : 
					ClutterJson.JsonArray
					
				
			
		 
                 | 
            
        
        
| 
		
			ClutterJson.JsonObject
             Method  | 
            
            
 
	   
            
                
		
                 Convenience function for setting an array value of The object will take ownership of the passed JsonArray  
		 
		 
		 
                 
		     
              
             | 
            
        
        
| 
		
			ClutterJson.JsonObject
             Method  | 
            
            
 
	   
            
                
		 
			get_array_member
				
				 (String member_name) 
			
				
					 : 
					ClutterJson.JsonArray
					
				
			
		 
                Convenience function that retrieves the array stored in member_name of object  
		 
		 
		 
                 
		     
              
             | 
            
        
        
| 
		
			ClutterJson.JsonParser
             Signal  | 
            
            
 
	   
            
                
		
                 The ::array-element signal is emitted each time the JsonParser has successfully parsed a single element of a JsonArray.  
		 
		 
		 
                 
		     
              
             | 
            
        
        
| 
		
			ClutterJson.JsonParser
             Signal  | 
            
            
 
	   
            
                
		 
			array_end
				
				 (JsonParser self, JsonArray array) 
			
				
					 : 
					none
					
				
			
		 
                The ::array-end signal is emitted each time the JsonParser has successfully parsed an entire JsonArray  
		 
		 
		 
                 
		     
              
             |