From b91b582d8a6c0b2e78a20a517c6e0d3b036725d8 Mon Sep 17 00:00:00 2001 From: ArghKevin Date: Mon, 29 Apr 2024 13:32:18 -0700 Subject: Week 2. Stubs. Start of GUI. --- src/JSONReader.java | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/JSONReader.java (limited to 'src/JSONReader.java') 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; + } +} -- cgit v1.2.3