Skip to content

Commit 5e2140f

Browse files
committed
doc processor 0.3.0: small fixes
1 parent e942ddb commit 5e2140f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/annotations/ImportDataSchema.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public annotation class JsonOptions(
6666
* will be created.
6767
*
6868
* Example:
69-
* `["""[*]["author"]"""]`
69+
* `["""\$["store"]["book"][*]["author"]"""]`
7070
*/
7171
public val keyValuePaths: Array<String> = [],
7272
)

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/codeGen/GeneratedField.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public class ValidFieldName private constructor(private val identifier: String,
104104
.replace("]", "}")
105105
.replace("`", "'")
106106
.replace(";", " ")
107-
.replace("\", " ")
107+
.replace("\\", " ")
108108
}
109109

110110
return ValidFieldName(result, needsQuote)

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/annotations/ImportDataSchema.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public annotation class JsonOptions(
6666
* will be created.
6767
*
6868
* Example:
69-
* `["""$["store"]["book"][*]["author"]"""]`
69+
* `["""\$["store"]["book"][*]["author"]"""]`
7070
*/
7171
public val keyValuePaths: Array<String> = [],
7272
)

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/codeGen/GeneratedField.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public class ValidFieldName private constructor(private val identifier: String,
104104
.replace("]", "}")
105105
.replace("`", "'")
106106
.replace(";", " ")
107-
.replace("\", " ")
107+
.replace("\\", " ")
108108
}
109109

110110
return ValidFieldName(result, needsQuote)

0 commit comments

Comments
 (0)