Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8785809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:27:21+00:00 2026-06-13T21:27:21+00:00

[{changed_aspect: media, subscription_id: xxxx, object: user, object_id: xxxx, time: xxxxxx}] That’s the data I

  • 0
[{"changed_aspect": "media", "subscription_id": xxxx, "object": "user", "object_id": "xxxx", "time": "xxxxxx"}]

That’s the data I get from the server.

jsondump = json.dump(data)

but when I do jsondump[1][“changed_aspect”] it doesn’t show the value media. Where am I going wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T21:27:22+00:00Added an answer on June 13, 2026 at 9:27 pm

    Assuming the subscription_id should have been a valid string,

    >>> import json
    >>> c = '[{"changed_aspect": "media", "subscription_id": "xxxx", "object": "user", "object_id": "xxxx", "time": "xxxxxx"}]'
    >>> data = json.loads(c)
    >>> data[0]['changed_aspect']
    u'media'
    

    The index should be 0, not 1 as lists in python are 0 based indexed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a system at the moment that needs to copy data from a
In a user control I have an unordered list that contains items showing editable
Please note that Object.Watch and Object.Observe are both deprecated now (as of Jun 2018).
I have a linq object that I'd like to retire when certain aspects are
I changed my .autotest file to use it with a Ruby-based project. After that,
In my company we are 50+ developers. There are around 9 projects that share
I'm trying to learn JS from online tutorial - http://ejohn.org/apps/learn/#33 , you can test
How can I make a SVG appear reliably without scrollbars in HTML? Something that
I want to copy a file that's in the same directory as the installer
I've copied the code from here: https://whathecode.wordpress.com/2012/03/26/null-checks-for-event-handlers-an-aspect-solution/ But I can't seem to get it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.