Skip to content

Value throws on null string #1163

@p-groarke

Description

@p-groarke

Take for example { "key" : null }.

Using value("key", "") on a null string throws [json.exception.type_error.302] type must be string, but is null.

Expected behavior : Use default value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    state: please discussplease discuss the issue or vote for your favorite option

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions