even more formatting

This commit is contained in:
stleary 2020-07-18 13:11:13 -05:00
parent 9a3e7dd7c4
commit db6ca7fbf3

View File

@ -36,17 +36,11 @@ javac org\json\*.java
jar cf json-java.jar org/json/*.class jar cf json-java.jar org/json/*.class
```` ````
*Compile a program that uses the jar (see below example code)* *Compile a program that uses the jar (see example code below)*
```` ````
javac -cp .;json-java.jar Test.java javac -cp .;json-java.jar Test.java
```` ````
*Excecute the Test file*
````
java -cp .;json-java.jar Test
````
*Test file contents* *Test file contents*
```` ````
@ -59,6 +53,11 @@ public class Test {
} }
```` ````
*Excecute the Test file*
````
java -cp .;json-java.jar Test
````
*Expected output* *Expected output*
```` ````
@ -69,7 +68,7 @@ public class Test {
*You can only run the unit tests with Maven or Gradlew.* *You can only run the unit tests with Maven or Gradlew.*
#Files# # Files
**JSONObject.java**: The `JSONObject` can parse text from a `String` or a `JSONTokener` **JSONObject.java**: The `JSONObject` can parse text from a `String` or a `JSONTokener`
to produce a map-like object. The object provides methods for manipulating its to produce a map-like object. The object provides methods for manipulating its