Example #1
0
 private string NextString(char quote)
 {
     try
     {
         return(JsonString.Dequote(_reader, quote));
     }
     catch (FormatException e)
     {
         throw SyntaxError(e.Message, e);
     }
 }
 private string NextString(char quote)
 {
     try
     {
         return(JsonString.Dequote(_reader, quote));
     }
     catch (FormatException ex)
     {
         throw new JsonException(ex.Message, ex);
     }
 }