Skip to content

Commit 9a3e7dd

Browse files
committed
more formatting
1 parent 79ff79e commit 9a3e7dd

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,24 @@ Recently [#515 Merge tests and pom and code](https://github.com/stleary/JSON-jav
2727
**Building from the command line**
2828

2929
*Build the class files from the package root directory src/main/java*
30-
31-
* * javac org\json\*.java
30+
````
31+
javac org\json\*.java
32+
````
3233

3334
*Build the jar file*
34-
35-
* * jar cf json-java.jar org/json/*.class
35+
````
36+
jar cf json-java.jar org/json/*.class
37+
````
3638

3739
*Compile a program that uses the jar (see below example code)*
38-
39-
* * javac -cp .;json-java.jar Test.java
40+
````
41+
javac -cp .;json-java.jar Test.java
42+
````
4043

4144
*Excecute the Test file*
42-
43-
* * java -cp .;json-java.jar Test
45+
````
46+
java -cp .;json-java.jar Test
47+
````
4448

4549

4650
*Test file contents*
@@ -65,7 +69,7 @@ public class Test {
6569
*You can only run the unit tests with Maven or Gradlew.*
6670

6771

68-
#Files
72+
#Files#
6973

7074
**JSONObject.java**: The `JSONObject` can parse text from a `String` or a `JSONTokener`
7175
to produce a map-like object. The object provides methods for manipulating its
@@ -148,7 +152,7 @@ error to be generated. Malformed JSON Texts such as missing end " (quote) on str
148152
invalid number formats (1.2e6.3) will cause errors as such documents can not be read
149153
reliably.
150154

151-
Some notible exceptions that the JSON Parser in this library accepts are:
155+
Some notable exceptions that the JSON Parser in this library accepts are:
152156
* Unquoted keys `{ key: "value" }`
153157
* Unquoted values `{ "key": value }`
154158
* Unescaped literals like "tab" in string values `{ "key": "value with an unescaped tab" }`

0 commit comments

Comments
 (0)