Skip to content

decode null to cjson.null #88

Description

@xxy7800

Hello, I have a question. When I use decode to handle a string like "expirePay":{"key":"","value":null,"descr":""}, the value is converted to cjson.null instead of Lua's nil. cjson.null is treated as userdata in my Lua script and I can't process it. How should I handle this? Thank you.

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