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 3721322
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T05:30:59+00:00 2026-05-19T05:30:59+00:00

For a User Entity, I want to create a property that is a dictionary

  • 0

For a User Entity, I want to create a property that is a dictionary of serialized data. The data is:

time = time_value
name = name_value
id = id_value

Are there existing libraries to support serializing data, including DateTime values, and then deserializing them into their types (like DateTime, String, Integer) when fetching them from the Datastore?

Note: I’m going on the assumption that serializing the data is more efficient than encoding in JSON. If that is a false assumption then this question is a moot.

  • 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-05-19T05:31:01+00:00Added an answer on May 19, 2026 at 5:31 am

    The built-in Python library pickle can be used to serialize and deserialize your data (while maintaining type information). You can store the “pickled” data in a db.BlobProperty.

    Unfortunately, Google App Engine’s uses a Python-only implementation for the pickle library, and does not have support for the much faster cPickle. Based on analysis presented by Konstantin in his article Pickle vs JSON – Which is Faster?, it seems like you can expect to get better performance with JSON in this case.

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

Sidebar

Related Questions

I have a User entity, and in various views, I want to create links
Let's say I have an User entity and I would want to set it's
There's a many-to-many UserFeed table that stands between User and Feed and denotes a
I want to search by content on a property in an entity I have
I want to add metadata to my object graph for non-domain type data that
Actually, I try to create a form on middle entity and I want to
If you have a user entity, you could store his/her address in two ways.
I have two classes, user and role, defined as: public class User : Entity
In our application, I have seen code written like this: User.java (User entity) public
I have a 'vanilla' install of CodeIgniter 2 + Doctrine 2. My tutorial Entity.User.dcm.yml

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.