[ 
https://issues.apache.org/jira/browse/JOHNZON-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Louis Monteiro resolved JOHNZON-325.
-----------------------------------------
    Resolution: Fixed

> JSON Pointer using "-" (last index) not properly handled for arrays
> -------------------------------------------------------------------
>
>                 Key: JOHNZON-325
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-325
>             Project: Johnzon
>          Issue Type: Bug
>            Reporter: Jean-Louis Monteiro
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> As per spec, "-" always points to the first index after the last element.
> As the arrays are zero based in terms of index. "-" is always equals to the 
> size of the array.
>  
> When adding to "-" it basically adds at the tail of the array.
>  
> Any other operation must result in a JSonException (getValue, replace and 
> remove)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to