ETSI's Bug Tracker - Part 11: Using JSON with TTCN-3
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0007723 | Part 11: Using JSON with TTCN-3 | [TTCN-3 Change Requests] Editorial | public | 25-10-2017 11:32 | 05-01-2018 09:23

Reporter | nikolajev |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | V4.7.1 (published 2017-06) |
Target Version | V4.8.1 (published 2020-05) | Fixed in Version | V4.8.1 (published 2020-05) |

Summary | 0007723: "Part 11: Using JSON with TTCN-3":"7.2.8 Record and set" invalid JSON syntax in example

Description

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 }}

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR7723.docx (144,319) 26-10-2017 10:27 http://oldforge.etsi.org/mantis/file_download.php?file_id=3708&type=bug

Issue History
Date Modified | Username | Field | Change
25-10-2017 11:32 | nikolajev | New Issue |
26-10-2017 10:25 | KristÃ³f Szabados | Assigned To | => KristÃ³f Szabados
26-10-2017 10:25 | KristÃ³f Szabados | Status | new => assigned
26-10-2017 10:27 | KristÃ³f Szabados | File Added: CR7723.docx |
26-10-2017 10:28 | KristÃ³f Szabados | Note Added: 0014883 |
26-10-2017 10:28 | KristÃ³f Szabados | Assigned To | KristÃ³f Szabados => Tomas Urban
26-10-2017 10:28 | KristÃ³f Szabados | Status | assigned => confirmed
27-10-2017 12:42 | Tomas Urban | Note Added: 0014915 |
27-10-2017 12:42 | Tomas Urban | Status | confirmed => resolved
27-10-2017 12:42 | Tomas Urban | Resolution | open => fixed
27-10-2017 12:42 | Tomas Urban | Assigned To | Tomas Urban => Gyorgy Rethy
04-01-2018 17:01 | Gyorgy Rethy | Project | TTCN-3 Change Requests => Part 11: Using JSON with TTCN-3
05-01-2018 09:23 | Gyorgy Rethy | Note Added: 0015000 |
05-01-2018 09:23 | Gyorgy Rethy | Status | resolved => closed
05-01-2018 09:23 | Gyorgy Rethy | Product Version | => V4.7.1 (published 2017-06)
05-01-2018 09:23 | Gyorgy Rethy | Fixed in Version | => V4.8.1 (published 2020-05)
05-01-2018 09:23 | Gyorgy Rethy | Target 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.