[GH-ISSUE #3551] [feature]: Ability to convert JSON responses into programming language interface/types #1217

Closed
opened 2026-03-16 19:18:50 +03:00 by kerem · 11 comments
Owner

Originally created by @InDIOS on GitHub (Nov 14, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3551

Is there an existing issue for this?

  • I have searched the existing issues

Summary

Would be great to have an option to export/copy JSON responses as interface/type in the programming language of choice like ThunderClient does or this website quicktype.io

Why should this be worked on?

Some other REST Clients implement this feature an it is very useful in some cases where you are unable to get to the response interface

Originally created by @InDIOS on GitHub (Nov 14, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3551 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary Would be great to have an option to export/copy JSON responses as interface/type in the programming language of choice like ThunderClient does or this website [quicktype.io](https://quicktype.io/) ### Why should this be worked on? Some other REST Clients implement this feature an it is very useful in some cases where you are unable to get to the response interface
kerem 2026-03-16 19:18:50 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@rajdip-b commented on GitHub (Nov 19, 2023):

Would using quicktype.io be allowed for this feature? If yes, then I would like to give it a shot!
@AndrewBastin @liyasthomas

<!-- gh-comment-id:1817836834 --> @rajdip-b commented on GitHub (Nov 19, 2023): Would using quicktype.io be allowed for this feature? If yes, then I would like to give it a shot! @AndrewBastin @liyasthomas
Author
Owner

@liyasthomas commented on GitHub (Nov 19, 2023):

quicktype looks good. @AndrewBastin if we don't have this scoped to our Q4 roadmap we can assign this to community contributions right?

<!-- gh-comment-id:1817844773 --> @liyasthomas commented on GitHub (Nov 19, 2023): [quicktype](https://github.com/glideapps/quicktype) looks good. @AndrewBastin if we don't have this scoped to our Q4 roadmap we can assign this to community contributions right?
Author
Owner

@AndrewBastin commented on GitHub (Nov 19, 2023):

Sure we can see. You can pick this up @rajdip-b

<!-- gh-comment-id:1817845006 --> @AndrewBastin commented on GitHub (Nov 19, 2023): Sure we can see. You can pick this up @rajdip-b
Author
Owner

@rajdip-b commented on GitHub (Nov 19, 2023):

On it!

<!-- gh-comment-id:1817845090 --> @rajdip-b commented on GitHub (Nov 19, 2023): On it!
Author
Owner

@rajdip-b commented on GitHub (Nov 19, 2023):

Hey, can anyone help me with the component for this section? I can't seem to find it :(
image

<!-- gh-comment-id:1817863241 --> @rajdip-b commented on GitHub (Nov 19, 2023): Hey, can anyone help me with the component for this section? I can't seem to find it :( ![image](https://github.com/hoppscotch/hoppscotch/assets/83924254/d6f5adf2-0737-453f-8bb2-dce08127af78)
Author
Owner
<!-- gh-comment-id:1817866002 --> @liyasthomas commented on GitHub (Nov 19, 2023): That would be: https://github.com/hoppscotch/hoppscotch/blob/main/packages/hoppscotch-common/src/components/lenses/renderers/JSONLensRenderer.vue
Author
Owner

@rajdip-b commented on GitHub (Nov 19, 2023):

@liyasthomas @AndrewBastin Guys, does this look ok?
image

<!-- gh-comment-id:1817881629 --> @rajdip-b commented on GitHub (Nov 19, 2023): @liyasthomas @AndrewBastin Guys, does this look ok? ![image](https://github.com/hoppscotch/hoppscotch/assets/83924254/1d26662a-1464-4a95-ad95-06f013fc7e7e)
Author
Owner

@AndrewBastin commented on GitHub (Nov 19, 2023):

@rajdip-b please open a PR (draft PR if incomplete) to receive feedback on the implementation.

<!-- gh-comment-id:1817882267 --> @AndrewBastin commented on GitHub (Nov 19, 2023): @rajdip-b please open a PR (draft PR if incomplete) to receive feedback on the implementation.
Author
Owner

@rajdip-b commented on GitHub (Nov 19, 2023):

Sure thing!

<!-- gh-comment-id:1817883039 --> @rajdip-b commented on GitHub (Nov 19, 2023): Sure thing!
Author
Owner

@rajdip-b commented on GitHub (Nov 19, 2023):

@AndrewBastin I've linked a PR to the issue. Would you please review it?

<!-- gh-comment-id:1817922034 --> @rajdip-b commented on GitHub (Nov 19, 2023): @AndrewBastin I've linked a PR to the issue. Would you please review it?
Author
Owner

@liyasthomas commented on GitHub (Dec 20, 2023):

Thanks for your patience and valuable feedback. This issue has been resolved in the latest release.

Closing this ticket as the fix is now available in the recent version. Feel free to reach out if you encounter any further concerns.

<!-- gh-comment-id:1863805724 --> @liyasthomas commented on GitHub (Dec 20, 2023): Thanks for your patience and valuable feedback. This issue has been resolved in the latest release. Closing this ticket as the fix is now available in the recent version. Feel free to reach out if you encounter any further concerns.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1217
No description provided.