json-refs icon indicating copy to clipboard operation
json-refs copied to clipboard

Unexpected "Invalid string length" error

Open whitlockjc opened this issue 5 years ago • 1 comments

When resolving https://raw.githubusercontent.com/Bungie-net/api/master/openapi-2.json, Invalid string length error is thrown.

whitlockjc avatar Nov 12 '18 17:11 whitlockjc

The more I look into this, this happens when JSON.stringify is given a JavaScript object that is huge and exceeds the maximum string length for the JavaScript runtime. I'm not sure this is fixable but I'll keep it open until this can be proven.

whitlockjc avatar Nov 12 '18 17:11 whitlockjc