Skip to content

!feat: json responses instead of model class instances - #553

Draft
Justin Hammond (Justintime50) wants to merge 1 commit into
masterfrom
428_json_formatted_responses
Draft

!feat: json responses instead of model class instances#553
Justin Hammond (Justintime50) wants to merge 1 commit into
masterfrom
428_json_formatted_responses

Conversation

@Justintime50

@Justintime50 Justin Hammond (Justintime50) commented Jul 28, 2026

Copy link
Copy Markdown
Member

Description

API resource responses are now plain JSON-compatible objects rather than model class instances.

Retains json-compatible response objects, instance helper methods like lowestRate, and instanceof model checks from before.

Closes #428

Testing

Ran a one-off test to ensure printed json responses were plain JSON and not instance model classes. Test suite also passes with no test-suite changes.

Pull Request Type

Please select the option(s) that are relevant to this PR.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement (fixing a typo, updating readme, renaming a variable name, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat]: Valid JSON formatted response

2 participants