ETSI's Bug Tracker - Part 11: Using JSON with TTCN-3
View Issue Details
0007723Part 11: Using JSON with TTCN-3[TTCN-3 Change Requests] Editorialpublic25-10-2017 11:3205-01-2018 09:23
nikolajev 
Gyorgy Rethy 
normalminorhave not tried
closedfixed 
V4.7.1 (published 2017-06) 
V4.8.1 (published 2020-05)V4.8.1 (published 2020-05) 
0007723: "Part 11: Using JSON with TTCN-3":"7.2.8 Record and set" invalid JSON syntax in example
In "7.2.8 Record and set" example 1 and 2, JSON encoded value is shown as:
Example 1:
{ "MyRecExample1.MyRecord" : { "int":5 , { "myset" : { "value_":5.5, "case_":true }}}}

Example 2:
{ "int":5 , { "myset" : { "value_":5.5, "case":true }}}

in both cases JSON object key value pairs are invalid because "myset" is enclosed in {}, which breaks the structure of parent JSON object.

Corrected example 1:
{ "MyRecExample1.MyRecord" : { "int":5 , "myset" : { "value_":5.5, "case_":true }}}

Corrected example 2:
{ "int":5 , "myset" : { "value_":5.5, "case":true }}

No tags attached.
docx CR7723.docx (144,319) 26-10-2017 10:27
http://oldforge.etsi.org/mantis/file_download.php?file_id=3708&type=bug
Issue History
25-10-2017 11:32nikolajevNew Issue
26-10-2017 10:25Kristóf SzabadosAssigned To => Kristóf Szabados
26-10-2017 10:25Kristóf SzabadosStatusnew => assigned
26-10-2017 10:27Kristóf SzabadosFile Added: CR7723.docx
26-10-2017 10:28Kristóf SzabadosNote Added: 0014883
26-10-2017 10:28Kristóf SzabadosAssigned ToKristóf Szabados => Tomas Urban
26-10-2017 10:28Kristóf SzabadosStatusassigned => confirmed
27-10-2017 12:42Tomas UrbanNote Added: 0014915
27-10-2017 12:42Tomas UrbanStatusconfirmed => resolved
27-10-2017 12:42Tomas UrbanResolutionopen => fixed
27-10-2017 12:42Tomas UrbanAssigned ToTomas Urban => Gyorgy Rethy
04-01-2018 17:01Gyorgy RethyProjectTTCN-3 Change Requests => Part 11: Using JSON with TTCN-3
05-01-2018 09:23Gyorgy RethyNote Added: 0015000
05-01-2018 09:23Gyorgy RethyStatusresolved => closed
05-01-2018 09:23Gyorgy RethyProduct Version => V4.7.1 (published 2017-06)
05-01-2018 09:23Gyorgy RethyFixed in Version => V4.8.1 (published 2020-05)
05-01-2018 09:23Gyorgy RethyTarget Version => V4.8.1 (published 2020-05)

Notes
(0014883)
Kristóf Szabados   
26-10-2017 10:28   
please check
(0014915)
Tomas Urban   
27-10-2017 12:42   
No problems found, the resolution is ready to be included in the next version of the "Unsing JSON with TTCN-3" specification.
(0015000)
Gyorgy Rethy   
05-01-2018 09:23   
Corrected in draft V4.7.2.