Skip to content

Null handling in String values #4

@debasishg

Description

@debasishg

How to differentiate between "null" and null while Serializer.in ?
case class Foo(str: String)
val f = Foo(null)
Serializer.out(f) => JSON value : "null"
During Serializer.in[Foo] => how do I know if the value was "null" string or the value null ?

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