Skip to content

Primitive JSON Parsing #7

@Stuart-Wilcox

Description

@Stuart-Wilcox

The JSON parser is only suitable for primitive types only. When you try to use res.json(myObj) and myObj has non-primitive attributes then it will throw an error saying it is not JSON serializable.

The only way around this for now is to change the fields to primitives.

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