windows 10, Emacs 26.1
Suppose I has the next text
[
{
"id": 1,
"finished": 1573550444.4444,
"orgn": 17
},
{
"id": 1,
"finished": 1573550444.4444,
"orgn": 17
},
{
"id": 1,
"finished": 1573550444.4444,
"orgn": 17
},
{
"id": 1,
"finished": 1573550444.4444,
"orgn": 17
}
]
I need to increment only field "id"
The result must be like this:
[
{
"id": 2,
"finished": 1573550444.4444,
"orgn": 17
},
{
"id": 3,
"finished": 1573550444.4444,
"orgn": 17
},
{
"id": 4,
"finished": 1573550444.4444,
"orgn": 17
},
{
"id": 5,
"finished": 1573550444.4444,
"orgn": 17
}
]
Is it possible? Without create my custom function.