swagger-api / swagger-api/swagger-codegen
[Python] Better JSON Serialization and Marshaling
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
Currently, the Python API client relies on our own deserialiser to convert JSON string back into Python objects with support of attribute mapping. For other generators (e.g. Java, C#), we're leveraging 3rd-party libraries/modules to handle serialization/deserialization between objects and JSON strings
We would like to evaluate different Python modules to perform similar tasks instead of maintaining our own serialization/deserialisation logic:
If anyone has comments/suggestions or want to contribute to this enhancement, please reply to let us know. Thank you.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the Python API client's existing deserialization logic, then evaluate Kim and other candidate modules against its attribute-mapping behavior. The issue names no files or tests; completion would require an agreed replacement and validation plan, so project entry points and acceptance criteria need to be established first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100