diff --git a/src/zutil/parser/DataNodePath.java b/src/zutil/parser/DataNodePath.java
index 91019be..5716d56 100644
--- a/src/zutil/parser/DataNodePath.java
+++ b/src/zutil/parser/DataNodePath.java
@@ -7,10 +7,11 @@ import java.util.ArrayList;
import java.util.List;
/**
- * This is a class that implements the JSONPath syntax to lookup eƶements of a DataNode structure.
+ * This is a class that implements the JSONPath syntax to lookup elements of a DataNode structure.
*
* Operators (From JSONPath spec):
*
+ * Table describing operator
* | Operator | Description |
* $ | The root element to query. This starts all path expressions. |
* * | Wildcard. Available anywhere a name or numeric are required. |
@@ -21,6 +22,7 @@ import java.util.List;
*
* Examples:
*
+ * Table with example JSON paths
* | JSONPath | Result |
* $.store.book[*].author | a list of all authors for the books in the store |
* $.store.* | all things in store, which are some books and a red bicycle. |
diff --git a/src/zutil/parser/json/JSONWriter.java b/src/zutil/parser/json/JSONWriter.java
index 8321235..191e81e 100755
--- a/src/zutil/parser/json/JSONWriter.java
+++ b/src/zutil/parser/json/JSONWriter.java
@@ -121,7 +121,8 @@ public class JSONWriter{
private static String escapeString(String str) {
// Replace one backslash with two
- return str.replaceAll("\\\\", "\\\\\\\\");
+ return str.replaceAll("\\\\", "\\\\\\\\")
+ .replaceAll("\"", "\\\\\"");
}
/**