8000 Serialization of objects · Issue #4 · sigmavirus24/github3.py · GitHub
[go: up one dir, main page]

Skip to content
Serialization of objects #4
Closed
Closed
@sigmavirus24

Description

@sigmavirus24

Add functions to dump and read JSON about the object.

to_json would be a function only for use on an object. from_json would be a classmethod but I am beginning to think it is entirely unnecessary.

We can change the default behavior of a class like Repository to accept a GitHub object instead of a session variable as an optional parameter. This will allow session sharing and a clean way of instantiating a class from pure JSON.

@doda comments? concerns? opinions?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0