Skip to content
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

Invalid JSON for FFI objects #104

Open
kelunik opened this issue May 23, 2020 · 1 comment
Open

Invalid JSON for FFI objects #104

kelunik opened this issue May 23, 2020 · 1 comment

Comments

@kelunik
Copy link

kelunik commented May 23, 2020

If FFI objects are dumped, invalid JSON is generated, note the trailing comma after "2329":

    "0x7f0c227017c0" : {
        "type" : "object",
        "size" : "72",
        "symbol_name" : "Amp\\Http\\Internal\\HPackNghttp2::deflatePtrType",
        "is_root" : true,
        "frame" : "<CLASS_STATIC_MEMBER>"
,
        "class" : "FFI\\CType",
        "object_handle" : "2329",

    },
@dejagersh
Copy link

I am running into a similar problem: "Malformed UTF-8 characters, possibly incorrectly encoded "

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

No branches or pull requests

2 participants