cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Add null value in JSON

TS_9588135
12-Amethyst

Add null value in JSON

Hi,

 

I would like to have a service with a JSON as output.

Is it possible to add a 'null' value in an array there?

E.g.

 

field1: [50],

field2: [null],

field3: [60]

}

 

(My service returns 'Error executing service. Message ::null - See Script Error Log for more details').

The null is really necessary (NaN etc. are not an option).

ACCEPTED SOLUTION

Accepted Solutions
TS_9588135
12-Amethyst
(To:mnarang)

Apparently, it's a bug in 8.5

View solution in original post

3 REPLIES 3

I am not sure what exactly you want to achieve, I tried the same json values and it worked like this. 

mnarang_0-1626170111729.png

 

TS_9588135
12-Amethyst
(To:mnarang)

Apparently, it's a bug in 8.5

Maybe it's a bug there but I tested in 9.1.

Announcements


Top Tags