Questions tagged [name-value]
49 questions
0
votes
1 answer
how can I use array in place of name value pair in a function
In the below code how can I use options array which is passed as a argument to drawOval
drawOval=function(options) {
$triangle = new Triangle({
// how can I use options array here
// the format it accept is top:450,
//…

deepsingh
- 149
- 10
-1
votes
1 answer
Xquery statement to get a value for specific name
I am trying to write a xquery to get the Value for a specific name .Below is the request payload: i.e. if the Name ="ID" then get the
"Value" for that tag (i.e.1000000000.)If the Name="User" get the "Value" for that tag( ie."US").

Simran
- 69
- 2
- 13
-2
votes
1 answer
Convert Table data in a array to multiple objects in array
I have an array
data = [
0 3x abcd aezakmi 900
1 2x defg panjer 800
2 1x hijk flyhigh 750
]
I want to convert it to this
data = [
[`{0}{3x}{abcd}{aezakmi}{900}`]
[`{1}{2x}{defg}{panjer}{900}`]
…

viswanath
- 11
- 6
-3
votes
2 answers
Need help formatting a JSON array
I have this array for my web service : {"update":true,"msg":"Logged in Bro","role":"admin"}
Now, I need to use this in Android to work around my application beyond login. So what I need here is a way to format this data into namevaluepairs or…

Krishnakant Mishra
- 63
- 2
- 9