Skip to content

Commit eb07bc1

Browse files
committed
corrected error messages
1 parent f59ad6a commit eb07bc1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/scala/sbtjson/ErrorMessages.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ object ErrorMessages {
1717
s"""An error occurred while extracting the schema from the JSON document from the file or URL: '$fileNameOrUrl#
1818
|A value '$name# is either null or the value is an array containing a null value.
1919
|There might be important type information missing because the type of a null value cannot be analyzed.
20-
|To ignore null values explicitly set the sbt-json option 'includeJsValues' to ignore null:
21-
|'includeJsValues := includeAll.exceptNullValues'""".stripMargin
20+
|To ignore null values explicitly set the sbt-json option 'jsValueFilter' to ignore null:
21+
|'jsValueFilter := allJsValues.exceptNullValues'""".stripMargin
2222
case ArrayEmpty(name) =>
2323
s"""An error occurred while extracting the schema from the JSON document from the file or URL: '$fileNameOrUrl'
2424
|The value '$name' is an empty array.
2525
|There might be important type information missing because the type of an empty array cannot be analyzed.
26-
|To ignore empty arrays explicitly set the sbt-json option 'includeJsValues' to ignore empty arrays:
27-
|'includeJsValues := includeAll.exceptEmptyArrays'""".stripMargin
26+
|To ignore empty arrays explicitly set the sbt-json option 'jsValueFilter' to ignore empty arrays:
27+
|'jsValueFilter := allJsValues.exceptEmptyArrays'""".stripMargin
2828
case ArrayTypeNotConsistent(name) =>
2929
s"""An error occurred while extracting the schema from the JSON document from the file or URL: '$fileNameOrUrl'
3030
|The type of value '$name' is not consistent. The schema cannot be inferred.""".stripMargin

0 commit comments

Comments
 (0)