Hi,
Do we need to filter the data type here. If result is not a Map or List Can
we return the result as it is?

Thanks,
Waruna

On Mon, Jan 22, 2018 at 12:18 PM, Vinod Kavinda <vi...@wso2.com> wrote:

> Hi All,
> I'm working on fixing the issue [1]. The reason for the issue is we have
> not considered the *null *in the code line [2]. According to the JSON
> spec [3], null also treated he same way like other primitive types.
>
> Any particular reason for not to add *null?*
> Shall we add the null also in the line [2] ?
>
> [1] - https://github.com/wso2/product-ei/issues/1406
> [2] - https://github.com/wso2/carbon-business-process/blob/
> master/components/bpmn/org.wso2.carbon.bpmn/src/main/
> java/org/wso2/carbon/bpmn/core/types/datatypes/json/api/
> JsonNodeObject.java#L77
> [3]  - http://www.json.org/
>
> Regards,
> Vinod
>
> --
> Vinod Kavinda
> Senior Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
> [image: http://wso2.com/signature]
> <http://wso2.com/signature>
>
>


-- 
Regards,

Waruna Lakshitha Jayaweera
Senior Software Engineer
WSO2 Inc; http://wso2.com
phone: +94713255198
http://waruapz.blogspot.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to