summaryrefslogtreecommitdiff
path: root/src/JSONReader.java
diff options
context:
space:
mode:
authorArghKevin <kagheli@student.sdccd.edu>2024-04-29 13:32:18 -0700
committerArghKevin <kagheli@student.sdccd.edu>2024-04-29 13:32:18 -0700
commitb91b582d8a6c0b2e78a20a517c6e0d3b036725d8 (patch)
tree615a0ed4830a3ef1b17ec505001771962a5933f1 /src/JSONReader.java
parent55669ea76c7a08dfbaca5898070404c0f60d476d (diff)
Week 2. Stubs. Start of GUI.
Diffstat (limited to 'src/JSONReader.java')
-rw-r--r--src/JSONReader.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/JSONReader.java b/src/JSONReader.java
new file mode 100644
index 0000000..52edf3a
--- /dev/null
+++ b/src/JSONReader.java
@@ -0,0 +1,26 @@
+import java.io.*;
+
+/*
+ * @author
+ * Kian Agheli
+ *
+ * References:
+ * https://jqlang.github.io/jq/manual/
+ *
+ * Date:
+ * 2024-04-28
+ *
+ * Purpose of class:
+ * Read from and interpret JSON files.
+ */
+
+public class JSONReader extends Reader {
+ public JSONReader(File file) {
+ super(file);
+ }
+
+ /* Something akin to jq's field selection. */
+ public String getField(String field) {
+ return null;
+ }
+}