json.objKeys
This function gets the list of all top level keys of a JSON object.
Syntax
json.objKeys(jsonObject)
Arguments
| 
                                 Argument  | 
                            
                                 Type  | 
                            
                                 Description  | 
                        
|---|---|---|
| 
                                 jsonObject  | 
                            
                                 any  | 
                            
                                 The JSON object.  | 
                        
Returns
| 
                                 Type  | 
                            
                                 Description  | 
                        
|---|---|
| 
                                 array  | 
                            
                                 The list of top level keys.  | 
                        
Examples
Let's say the jsonObject includes the following
jsonObject = {
"id": 1,
"name": "bob"
}
                The function json.objKeys(jsonObject) returns ["id", "name"].