|
@@ -23,7 +23,7 @@
|
|
package haxe.format;
|
|
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
|
|
This class is used by `haxe.Json` when native JSON implementation
|
|
is not available.
|
|
is not available.
|
|
@@ -34,7 +34,7 @@ class JsonPrinter {
|
|
/**
|
|
/**
|
|
Encodes `o`'s value and returns the resulting JSON string.
|
|
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,
|
|
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.
|
|
the key and the value being encoded. Initial key value is an empty string.
|
|
|
|
|