Browse Source

Revert "Some slight grammar fixes in JSON Parser and Printer (#10968)"

This reverts commit 5f606459b074c5e5a2f7bfe1af428366e3ef618d.
This is not a chang worth breaking API generation over.
Rudy Ges 2 years ago
parent
commit
e8c3405c28
2 changed files with 3 additions and 3 deletions
  1. 1 1
      std/haxe/format/JsonParser.hx
  2. 2 2
      std/haxe/format/JsonPrinter.hx

+ 1 - 1
std/haxe/format/JsonParser.hx

@@ -23,7 +23,7 @@
 package haxe.format;
 
 /**
-	An implementation of a JSON parser in Haxe.
+	An implementation of JSON parser in Haxe.
 
 	This class is used by `haxe.Json` when native JSON implementation
 	is not available.

+ 2 - 2
std/haxe/format/JsonPrinter.hx

@@ -23,7 +23,7 @@
 package haxe.format;
 
 /**
-	An implementation of a JSON printer in Haxe.
+	An implementation of JSON printer in Haxe.
 
 	This class is used by `haxe.Json` when native JSON implementation
 	is not available.
@@ -34,7 +34,7 @@ class JsonPrinter {
 	/**
 		Encodes `o`'s value and returns the resulting JSON string.
 
-		If `replacer` is given and is not null, it is used to retrieve the
+		If `replacer` is given and is not null, it is used to retrieve
 		actual object to be encoded. The `replacer` function takes two parameters,
 		the key and the value being encoded. Initial key value is an empty string.