Save/load data to a file (JSON for phobos)

Niels niels.kooiman at gmail.com
Fri Nov 21 05:35:55 PST 2008


  struct A
  {
   char[] sval = "test";
   bool bval = true;
   int ival = 3;
   double dval = 4f/3;
   real rval = 8f/3;
  }

should likely be:

  struct A
  {
   char[] sval = "test";
   bool bval = true;
   int ival = 3;
   double dval = 4f/3f; //  4/3f should work to
   real rval = 8f/3f;
  }


More information about the Digitalmars-d-learn mailing list