Description: A, complete the JSON basic structure (key value, object, array, string) analysis; (10 points)
B, complete the analysis of true, false, null, integer; (5 points)
C, complete floating point analysis; (5 points)
D, the resolution of the number expressed by the scientific enumeration method; (5 points);
E, complete the formatting of JSON text. Add a command line parameter -pretty, for file *.json, if parsing succeeds,
Then the formatted JSON is exported to another file *.pretty.json. (5 points)
In the test directory under the e directory, there is a disorderly country.json file, as well as a formatted, easier to read
Country.pretty.json file.
To Search:
File list (Check if you may need any files):
json\JSONParser.jar
json\src\Format.java
json\src\Lexer.java
json\src\main.java
json\src\Parser.java
json\src\Read.java
json\src\Search.java
json\src\Token.java
json\src\TokenType.java
json\src\Write.java
json\test\a\false.json
json\test\a\true.json
json\test\b\false.json
json\test\b\true.json
json\test\c\false.json
json\test\c\true.json
json\test\d\false.json
json\test\d\true.json
json\test\e\country.json
json\test\e\country.pretty.json
json\test\f\country.json
json\说明文档.docx
json\test\a
json\test\b
json\test\c
json\test\d
json\test\e
json\test\f
json\src
json\test
json