From 882237a61b465aee7034acf37db762eb809720d1 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Thu, 4 Apr 2024 13:02:42 +0200 Subject: [PATCH] Apply suggestions from code review --- vocabularies/Org.OData.JSON.V1.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vocabularies/Org.OData.JSON.V1.xml b/vocabularies/Org.OData.JSON.V1.xml index bdb4c1d8..b70435de 100644 --- a/vocabularies/Org.OData.JSON.V1.xml +++ b/vocabularies/Org.OData.JSON.V1.xml @@ -186,7 +186,7 @@ receiving String="Query a stream value of media type `application/json`, returning a string" /> Extracts a single OData primitive value from the `input` JSON value and casts it to a string: -- If `path` only consists of the root identifier followed by name and index selectors and identifies a single scalar JSON value (string, number, boolean, or `null`) within `input`, it returns the identified single value, cast to an OData primitive value (see below). +- If `path` only consists of the root identifier followed by name and index selectors and identifies a single scalar JSON value (string, number, boolean, or `null`) within `input`, it returns the identified single value, cast to a string. - If `path` identifies multiple nodes within `input` (by using descendant, wildcard, union, array subset, or filter selectors), identifies an object or array, or does not identify any node, the function returns `null`. - If `input` is not a valid JSON value, the function returns `null`. - If `path` is `null`, not a valid [JSONPath expression](#Path), or does not match the structure of `input` (for example applying an index selector to a scalar value), the function returns `null`. @@ -198,7 +198,7 @@ receiving - +