Commit 7352d4a6 authored by Benito van der Zander's avatar Benito van der Zander

adapt for refactored JSON parsing function

parent 2cdc33c7
Pipeline #36196512 failed with stages
in 1 minute and 26 seconds
......@@ -2311,8 +2311,8 @@ end;
function parseJSON(const data: IData): IXQValue;
case data.inputFormat of //todo: cache?
ifJSON: result := xquery_json.parseJSON(data.rawData, [pjoAllowMultipleTopLevelItems, pjoLiberal, pjoAllowTrailingComma]);
ifJSONStrict: result := xquery_json.parseJSON(data.rawData, []);
ifJSON: result := TXQJsonParser.parse(data.rawData, [jpoAllowMultipleTopLevelItems, jpoLiberal, jpoAllowTrailingComma]);
ifJSONStrict: result := TXQJsonParser.parse(data.rawData, []);
else result := xqvalue();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment