Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20937#discussion_r179951859
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -237,6 +237,8 @@ def json(self, path, schema=None, 
primitivesAsString=None, prefersDecimal=None,
             :param allowUnquotedControlChars: allows JSON Strings to contain 
unquoted control
                                               characters (ASCII characters 
with value less than 32,
                                               including tab and line feed 
characters) or not.
    +        :param encoding: standard encoding (charset) name, for example 
UTF-8, UTF-16LE and UTF-32BE.
    +                        If None is set, the encoding of input JSON will be 
detected automatically.
    --- End diff --
    
    one more leading space for `If None ...`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to