Questions tagged [jsonpickle]

jsonpickle is a Python library for serialization and deserialization of complex Python objects to and from JSON.

jsonpickle is a Python library for serialization and deserialization of complex Python objects to and from JSON. The standard Python libraries for encoding Python into JSON, such as the stdlib’s json, simplejson, and demjson, can only handle Python primitives that have a direct JSON equivalent (e.g. dicts, lists, strings, ints, etc.). jsonpickle builds on top of these libraries and allows more complex data structures to be serialized to JSON. jsonpickle is highly configurable and extendable–allowing the user to choose the JSON backend and add additional backends.

93 questions
0
votes
1 answer

Can't get import to be recognized - jsonpickle

I am using PyDev via eclipse and have used easy_install to get jsonpickle. No matter what I do I can't seem to get the import to work. What I have tried thus far: I have removed it from easy_install.pth and deleted the egg and installed…
scarpacci
  • 8,957
  • 16
  • 79
  • 144
-2
votes
1 answer

save json to file, load it and turn it back to object

I'm currently building an application in python where I have a class Corpus. I would like to convert this class to a json format and save it to a json file. Then load the file and finally turn back the json to its Class Corpus. In order to do that I…
FeckNeck
  • 114
  • 9
-2
votes
1 answer

How to load Pickle objects with JSON in Python 2.7?

I have a pickled object that I want to load. However, Pickle gives some strange (possibly memory-related) errors, that are briefly described here as well: Python Pickling Dictionary EOFError When loading, it simply gives an EOF error, while it does…
RNRug
  • 55
  • 5
1 2 3 4 5 6
7