Re: JSON path decimal literal syntax

2022-03-16 Thread Peter Eisentraut
On 06.03.22 02:43, Nikita Glukhov wrote: Obviously, there are compatibility issues with expressions like '1.type()', which will start to require parentheses around numbers, but they seem to be useful only for our regression tests. The corresponding changes in jsonpath_out() related to parenthese

Re: JSON path decimal literal syntax

2022-03-05 Thread Nikita Glukhov
On 24.02.2022 21:24, Peter Eisentraut wrote: On 18.02.22 11:17, Peter Eisentraut wrote: I noticed that the JSON path lexer does not support the decimal literal syntax forms .1 1. (that is, there are no digits before or after the decimal point).  This is allowed by the relevant ECMAScript st

Re: JSON path decimal literal syntax

2022-02-24 Thread Peter Eisentraut
On 18.02.22 11:17, Peter Eisentraut wrote: I noticed that the JSON path lexer does not support the decimal literal syntax forms .1 1. (that is, there are no digits before or after the decimal point).  This is allowed by the relevant ECMAScript standard (https://262.ecma-international.org/5.1

JSON path decimal literal syntax

2022-02-18 Thread Peter Eisentraut
;::jsonpath; +select '1.e1'::jsonpath; select '1e'::jsonpath; select '1.e'::jsonpath; select '1.2e'::jsonpath; -- 2.35.1 From 1881760218f15749122460eb3a71a0b648b5c86b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 18 Feb 2022 11:11:18 +01