rickysarraf / foxreplace

Automatically exported from code.google.com/p/foxreplace
0 stars 0 forks source link

Just an unneeded extra comma stops .json file from getting imported #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
{
          "input": "ॿ",
          "inputType": "text",
          "output": "b",
          "caseSensitive": false
        },
        {
          "input": "₹",
          "inputType": "text",
          "output": "Rs",
          "caseSensitive": false
        }, (AAAAA)
],
      "html": "none",
      "enabled": true
    }
  ]
}

Yes, that additional comma at (AAAAA) above should not be there.
I had copied existing entries from a valid exported files, and added new 
entries, I forgot to remove that comma.
And the .json file didn't get imported back to foxreplace in ff.
There was no message also why it is not getting imported.
-
I guess such hard format checking should not be there. relax it if you can, of 
course, do impose harsh checking for essential things like individual 
conversion table entries.
-
And a message would be helpful when the file is not getting imported, otherwise 
I was just at a loss what has happened. New users might stop using it in such a 
case.

Thanks.

Original issue reported on code.google.com by vsrawat on 24 Aug 2013 at 2:52

GoogleCodeExporter commented 9 years ago
The parsing is done by Firefox, I don't think I can't configure it. But I can 
capture the error and show it. BTW this is the same as issue 117.

Original comment by marc.r...@gmail.com on 24 Aug 2013 at 5:09