fork(1) download
  1. var = {
  2. "fields": {
  3. "description":
  4. {"content":
  5. [
  6. {
  7. "type":"paragraph",
  8. "content":[
  9. {
  10. "text":"12345"
  11. }
  12. ]
  13. },
  14. {
  15. "type":"paragraph",
  16. "content":[
  17. {
  18. "text":"67890"
  19. }
  20. ]
  21. },
  22. {
  23. "type":"paragraph",
  24. "content":[
  25. {
  26. "text": "12345"
  27. }
  28. ]
  29. },
  30. ]
  31. }
  32. }
  33. }
  34.  
  35. for i in var['fields']['description']['content']:
  36. for i in i['content']:
  37. for key, value in i.items():
  38. if key == 'text':
  39. print(value)
Success #stdin #stdout 0.04s 63612KB
stdin
Standard input is empty
stdout
12345
67890
12345