package edu.grinnell.callaway.jsonvalues;

public class JSONString
    implements
      JSONValue
{

  String str;

  public JSONString(String str)
  {
    this.str = str;
  }

  public String toJSON()
  {
    return this.str;
  }
  
  public int hashCode()
  {
    return this.str.hashCode();
  }
}

@@ -201,32 +201,38 @@
 )%0A  %7B%0A    return
+ '%22' +
  this.str;%0A  %7D%0A 
@@ -224,16 +224,22 @@
 this.str
+ + '%22'
 ;%0A  %7D%0A  

add quotes around strings