Skip to content

Fails on large definitions #224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nexxai opened this issue Jan 30, 2025 · 2 comments · May be fixed by #237
Open

Fails on large definitions #224

nexxai opened this issue Jan 30, 2025 · 2 comments · May be fixed by #237

Comments

@nexxai
Copy link

nexxai commented Jan 30, 2025

Hi there, I'm trying to read Cloudflare's API definitions into this package but it's about 5MB and json_decode() definitely doesn't like working with files that big. Does anyone have any suggestions for how to read in such a large file, or would the devs be open to replacing the stock json_decode() with a reader that can handle larger files?

Thanks!

@SOHELAHMED7
Copy link
Contributor

@nexxai

Can you please provide more details or steps to reproduce this issue?

I cannot reproduce this issue. Here is the passing test

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 a pull request may close this issue.

2 participants