Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Database (17.0.0.1358) crashes while using sp_parse_json

$
0
0

Dear Sir or Madam,

 

we are using the internal function sp_parse_json for parsing incoming json strings.

When using the following json string the database (version 17.0.0.1358) crashes.

 

So we have two problems.

The database crashes and this should not happen in any circumstances.

 

The other problem is parsing of json strings with different structures in the containing objects which is allowed by json standard.

 

We could identify the problem in the json string in the object "escalationInfo.buyerEscalationEligibilityInfo.startTime".

In the first object this value is null and in the following objects the startTime contains a value.

So we think the parser can not parse the json string because the containing objects does not have the same structure.

 

So in our opinion the parser does not parse the whole json string, it parse the first object and expects the following structure to be the same like the first objects.

 

We appreciate any kind of help.

 

Best regards


Viewing all articles
Browse latest Browse all 2182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>