Skip to content

json_inject giving runtime error when given empty string #5

@bchiu3

Description

@bchiu3

Currently, when running something similar to
json_inject(payload, sizeof(payload), "");
gives a runtime error of
./cee-utils/json-actor.c:1723: unexpected (null).

We might want this to give back an empty string or an empty array/object string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions