Skip to content

Buffer being passed by value and not by pointer to parseValue #10

@loater69

Description

@loater69

In src/main.zig on lines 479 and 490, the functions parseJson5 and parseJson5File attempt to call parseValue with a Buffer. However, parseValue expects a Buffer pointer.

To resolve this, I suggest changing the buffer variable to a var instead of a const and passing it by pointer to parseValue. This would align with the approach used in other parse functions, such as parse and parseFile.

Thank you for maintaining this Repository, please let me know if I can clarify anything!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions