www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - VisualD and json fighting - Help would be nice

reply "paha" <meinapril yahoo.com> writes:
With
     VisualD-v0.3.38-1   in Studio Shell 2008  (on XP)
I get these frustrating messages
right with the first Hello d-Word program:

   C:\Dokumente und 
Einstellungen\me\Anwendungsdaten\VisualD\json\phobos1.json: 
std.json.JSONException std\json.d(802): Found '{' when expecting 
']'. (Line 1:208)

----------------C:\Dokumente und 
Einstellungen\me\Anwendungsdaten\VisualD\json\phobos1.json: 
std.json.JSONException std\json.d(802): Found '{' when expecting 
']'. (Line 1:208)

First I used version D1. Now with dmd.2.063.2 its just the 
same?....
Thanks for any help
  Paha
Jul 21 2014
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 21.07.2014 09:39, paha wrote:
 With
      VisualD-v0.3.38-1   in Studio Shell 2008  (on XP)
 I get these frustrating messages
 right with the first Hello d-Word program:

    C:\Dokumente und
 Einstellungen\me\Anwendungsdaten\VisualD\json\phobos1.json:
 std.json.JSONException std\json.d(802): Found '{' when expecting ']'.
 (Line 1:208)

 ----------------C:\Dokumente und
 Einstellungen\me\Anwendungsdaten\VisualD\json\phobos1.json:
 std.json.JSONException std\json.d(802): Found '{' when expecting ']'.
 (Line 1:208)

 First I used version D1. Now with dmd.2.063.2 its just the same?....
 Thanks for any help
   Paha
I haven't tried it in a while, but maybe D1 is actually emitting invalid json information. If you are using D2 now, you can safely delete the reported file. Even if it worked it will probably add a lot of confusion if there is browse info for both phobos1 and phobos2 due to the same symbol names.
Jul 22 2014
parent "paha" <meinapril yahoo.com> writes:
Rainer.....
   Thanks & Danke

   After deletion it works & works  :-)

Paha



On Tuesday, 22 July 2014 at 07:12:30 UTC, Rainer Schuetze wrote:
 On 21.07.2014 09:39, paha wrote:
 With
     VisualD-v0.3.38-1   in Studio Shell 2008  (on XP)
 I get these frustrating messages
 right with the first Hello d-Word program:

   C:\Dokumente und
 Einstellungen\me\Anwendungsdaten\VisualD\json\phobos1.json:
 std.json.JSONException std\json.d(802): Found '{' when 
 expecting ']'.
 (Line 1:208)

 ----------------C:\Dokumente und
 Einstellungen\me\Anwendungsdaten\VisualD\json\phobos1.json:
 std.json.JSONException std\json.d(802): Found '{' when 
 expecting ']'.
 (Line 1:208)

 First I used version D1. Now with dmd.2.063.2 its just the 
 same?....
 Thanks for any help
  Paha
I haven't tried it in a while, but maybe D1 is actually emitting invalid json information. If you are using D2 now, you can safely delete the reported file. Even if it worked it will probably add a lot of confusion if there is browse info for both phobos1 and phobos2 due to the same symbol names.
Jul 22 2014