[Bugs] #1034 UNSP: Journal Integration
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Mon Jul 13 01:16:05 EDT 2009
#1034: Journal Integration
------------------------------------------+---------------------------------
Reporter: asaf | Owner: asaf
Type: enhancement | Status: closed
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Physics | Version: Unspecified
Severity: Unspecified | Resolution: fixed
Keywords: | Distribution: Unspecified
Status_field: Assigned |
------------------------------------------+---------------------------------
Changes (by asaf):
* cc: erikos (added)
Comment:
Replying to [comment:4 erikos]:
> As another serialization alternative - we use a lot json (cjson) in
sugar and other activities to serialize python objects.
http://git.sugarlabs.org/projects/browse/repos/mainline/blobs/master/model.py#line62
When I try to serialize with
{{{
cjson.encode(self.game.world)
}}}
I get
{{{
EncodeError: object is not JSON encodable
}}}
I think it has to do that what I want to serialize is not made of pure-
python objects.
--
Ticket URL: <http://dev.sugarlabs.org/ticket/1034#comment:6>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list