You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Alexey Kuznetsov <ak...@apache.org> on 2017/04/17 10:30:13 UTC

NULL strings in REST-HTTP

Hi,

I would like to change serialization of null strings in our
ignite-rest-http module.

Current serialization null -> "" (empty string).
Proposed serialization null -> null.

This will make things more straightforward.

Thoughts?

-- 
Alexey Kuznetsov

Re: NULL strings in REST-HTTP

Posted by Vladimir Ozerov <vo...@gridgain.com>.
+1

On Mon, Apr 17, 2017 at 1:42 PM, Sergey Kozlov <sk...@gridgain.com> wrote:

> Hi Alexey.
>
> I vote for your fix. Definitely it's wrong to return the empty string
> instead of null.
>
> On Mon, Apr 17, 2017 at 1:30 PM, Alexey Kuznetsov <ak...@apache.org>
> wrote:
>
> > Hi,
> >
> > I would like to change serialization of null strings in our
> > ignite-rest-http module.
> >
> > Current serialization null -> "" (empty string).
> > Proposed serialization null -> null.
> >
> > This will make things more straightforward.
> >
> > Thoughts?
> >
> > --
> > Alexey Kuznetsov
> >
>
>
>
> --
> Sergey Kozlov
> GridGain Systems
> www.gridgain.com
>

Re: NULL strings in REST-HTTP

Posted by Sergey Kozlov <sk...@gridgain.com>.
Hi Alexey.

I vote for your fix. Definitely it's wrong to return the empty string
instead of null.

On Mon, Apr 17, 2017 at 1:30 PM, Alexey Kuznetsov <ak...@apache.org>
wrote:

> Hi,
>
> I would like to change serialization of null strings in our
> ignite-rest-http module.
>
> Current serialization null -> "" (empty string).
> Proposed serialization null -> null.
>
> This will make things more straightforward.
>
> Thoughts?
>
> --
> Alexey Kuznetsov
>



-- 
Sergey Kozlov
GridGain Systems
www.gridgain.com