@@ -24,7 +24,7 @@ Get value of associated key from json object
24
24
25
25
26
26
## length()
27
- Get the number of elements in json object or array
27
+ Get the number of top level elements in json object or array
28
28
29
29
### Input Args
30
30
@@ -34,9 +34,10 @@ Get the number of elements in json object or array
34
34
35
35
### Output
36
36
37
- | Arg | Type | Description |
38
- | :----------| :-------| :------------------------------------|
39
- | returnVal | int | The length items in the json object |
37
+ | Arg | Type | Description |
38
+ | :--------------| :-------| :---------------------------------------|
39
+ | lengthInteger | int | The top level items in the json object |
40
+
40
41
41
42
## numbersToString()
42
43
Convert every number type to string in a json object or array
@@ -49,12 +50,13 @@ Convert every number type to string in a json object or array
49
50
50
51
### Output
51
52
52
- | Arg | Type | Description |
53
- | :----------| :-------| :---------------------------------------------------------|
54
- | returnVal | any | The json object or array with numbers encoded as strings |
53
+ | Arg | Type | Description |
54
+ | :------------------| :-------| :---------------------------------------------------------|
55
+ | jsonObjectOrArray | any | The json object or array with numbers encoded as strings |
56
+
55
57
56
58
## objKeys()
57
- Get the list of top level keys of json object
59
+ Get the list of all top level keys of json object
58
60
59
61
### Input Args
60
62
@@ -64,13 +66,13 @@ Get the list of top level keys of json object
64
66
65
67
### Output
66
68
67
- | Arg | Type | Description |
68
- | :----------| :-------| :---------------------------|
69
- | returnVal | array | The list of top level keys |
69
+ | Arg | Type | Description |
70
+ | :--------------- | :-------| :---------------------------|
71
+ | arrayOfStrings | array | The list of top level keys |
70
72
71
73
72
74
## objValues()
73
- Get list of all the values of a json object
75
+ Get the list of all top level values of json object
74
76
75
77
### Input Args
76
78
@@ -80,9 +82,9 @@ Get list of all the values of a json object
80
82
81
83
### Output
82
84
83
- | Arg | Type | Description |
84
- | :----------| :-------| :---------------------------------------|
85
- | returnVal | array | The list all the values in json object |
85
+ | Arg | Type | Description |
86
+ | :-------------- | :-------| :--------- ---------------------------------------|
87
+ | arrayOfValues | array | The list of all top level values in json object |
86
88
87
89
88
90
## path()
@@ -115,6 +117,6 @@ Set the value of existing key or add new key and set it's value in a json object
115
117
116
118
### Output
117
119
118
- | Arg | Type | Description |
119
- | :----------| :-------| :------------------------|
120
- | returnVal | any | The updated json object |
120
+ | Arg | Type | Description |
121
+ | :----------- | :-------| :------------------------|
122
+ | jsonObject | any | The updated json object |
0 commit comments