Answer the question
In order to leave comments, you need to log in
How to get json part inside request?
Hello!
Let's say I have this json:
-object {5}
-data [20]
-product [14]
- 1{17}
- 2{17}
-3{17}
-var1 :10
-var2: 20
-request {11 }
- var3:
11.01.11 - var4: 12.01.11
status: 200
If for product it works like this:
for i in dataJson['product']:
print(i['var1'], i['var2'])
And returns ok all unique values you want.
Then
for i in dataJson['request']:
print(i['var3'], i['var4'])
doesn't work.
Returns simply:
var3
var3
var3.
Tell me, please, what is the problem? How to correctly pull out data in request?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question