How to get selected link points in gojs?

How to get selected link points in gojs?
{
“key”: 127,
“ComponentNo”: 127,
“ComponentTypeNo”: 3,
“ProjectNo”: “5”,
“SystemNo”: 21,
“points”: {
“__gohashid”: 19215,
“v”: true,
“j”: [
{
“C”: -27.5,
“D”: -479.4227272727273,
“v”: true
},
{
“C”: -22.5,
“D”: -479.4227272727273,
“v”: true
},
{
“C”: 71.88636363636364,
“D”: -479.4227272727273,
“v”: true
},
{
“C”: 71.88636363636364,
“D”: -463.15000000000003,
“v”: true
},
{
“C”: 146.27272727272728,
“D”: -463.15000000000003,
“v”: true
},
{
“C”: 151.27272727272728,
“D”: -463.15000000000003,
“v”: true
}
],
“Ba”: 7,
“Ia”: null,
“Ng”: null
},
“from”: 124,
“to”: 126,
“text”: null,
“ToolTipTitle”: null,
“ToolTipSubtitle”: “Pipe”,
“ToolTipBodyHTML”: “”,
“color”: “#00c7fc”,
“fromPort”: “PORT_1”,
“toPort”: “PORT_2”,
“isNew”: 0,
“__gohashid”: 17202
}

How to get only points as array or string seperated by “,” ?

If you have set link data.points to a List of Points, probably via a TwoWay Binding, then Model.toJson and Model.fromJson will automatically render and parse the List of Points into/from the text of an Array of numbers.

It appears that you are not calling those Model methods. What are you using?