Skip to content

Commit

Permalink
spotless apply
Browse files Browse the repository at this point in the history
  • Loading branch information
hvub committed Nov 28, 2024
1 parent d2f985c commit 315e661
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions core/src/main/java/apoc/load/LoadJson.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,14 @@ public Stream<LoadDataMapResult> json(
@Procedure(name = "apoc.load.jsonParams", deprecatedBy = "This procedure is being moved to APOC Extended.")
@Deprecated
@QueryLanguageScope(scope = {QueryLanguage.CYPHER_5})
@Description("Loads a JSON document from a URL (e.g. web-API) as a stream of values if the given JSON document is a `LIST<ANY>`.\n"
+ "If the given JSON file is a `MAP`, this procedure imports a single value instead.")
@Description(
"Loads a JSON document from a URL (e.g. web-API) as a stream of values if the given JSON document is a `LIST<ANY>`.\n"
+ "If the given JSON file is a `MAP`, this procedure imports a single value instead.")
public Stream<LoadDataMapResult> jsonParams(
@Name(
value = "urlOrKeyOrBinary",
description = "The name of the file or binary data to import the data from. " +
"Note that a URL needs to be properly encoded to conform with the URI standard.")
description = "The name of the file or binary data to import the data from. "
+ "Note that a URL needs to be properly encoded to conform with the URI standard.")
Object urlOrKeyOrBinary,
@Name(value = "headers", description = "Headers to be used when connecting to the given URL.")
Map<String, Object> headers,
Expand All @@ -127,9 +128,10 @@ public Stream<LoadDataMapResult> jsonParams(
@Name(
value = "path",
defaultValue = "",
description = "A JSON path expression used to extract specific subparts of the JSON document " +
"(extracted by a link:https://en.wikipedia.org/wiki/JSONPath[JSONPath] expression). " +
"The default is: ``.")
description =
"A JSON path expression used to extract specific subparts of the JSON document "
+ "(extracted by a link:https://en.wikipedia.org/wiki/JSONPath[JSONPath] expression). "
+ "The default is: ``.")
String path,
@Name(
value = "config",
Expand Down

0 comments on commit 315e661

Please sign in to comment.