blob: 786b2a190e59a186b7e62145f4adb2e491c839e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
import java.util.HashMap;
import java.io.*;
/*
* @author
* Kian Agheli
*
* References:
*
* Date:
* 2024-05-08
*
* Purpose of class:
* Read from and interpret JSON files.
*/
public class JSONReader extends Reader {
public JSONReader(File file) {
super(file);
}
/*
* Search for and return the first
* match.
*/
public String get(String field) {
return null;
}
/*
* Search for and return all matches.
*/
public String[] getAll(String field) {
return null;
}
/*
* Search for and return a table of fields.
*/
public String getTable(HashMap<String,String> name) {
return null;
}
}
|