Package-level declarations
Types
Link copied to clipboard
class Base64ImageEncodingOptions(val imageSizeLimit: Int = DEFAULT_IMG_SIZE, options: Int = GZIP_ON or LIMIT_SIZE_ON)
Class representing the options for encoding images.
Link copied to clipboard
interface CustomEncoder
Interface for defining a custom encoder. That applied to the value during dataframe JSON serialization
Link copied to clipboard
internal class DefaultReadJsonMethod(path: String?, arguments: MethodArguments) : AbstractDefaultReadMethod
Link copied to clipboard
class JSON(typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, keyValuePaths: List<JsonPath> = emptyList(), unifyNumbers: Boolean = true) : SupportedDataFrameFormat
Link copied to clipboard
Functions
Link copied to clipboard
fun DataFrame.Companion.readJson(file: File, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyFrame
fun DataFrame.Companion.readJson(url: URL, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyFrame
fun DataFrame.Companion.readJson(path: Path, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyFrame
fun DataFrame.Companion.readJson(path: String, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyFrame
fun DataRow.Companion.readJson(file: File, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyRow
fun DataRow.Companion.readJson(url: URL, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyRow
fun DataRow.Companion.readJson(path: Path, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyRow
fun DataRow.Companion.readJson(path: String, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyRow
fun DataFrame.Companion.readJson(stream: InputStream, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true, format: Json = Json.Default): AnyFrame
fun DataRow.Companion.readJson(stream: InputStream, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true, format: Json = Json.Default): AnyRow
Link copied to clipboard
fun DataFrame.Companion.readJsonStr(text: String, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyFrame
fun DataRow.Companion.readJsonStr(text: String, header: List<String> = emptyList(), keyValuePaths: List<JsonPath> = emptyList(), typeClashTactic: JSON.TypeClashTactic = ARRAY_AND_VALUE_COLUMNS, unifyNumbers: Boolean = true): AnyRow
Link copied to clipboard
fun AnyFrame.toJsonWithMetadata(rowLimit: Int, nestedRowLimit: Int? = null, prettyPrint: Boolean = false, customEncoders: List<CustomEncoder> = emptyList(), isFormatted: Boolean = false): String
Converts the DataFrame to a JSON string representation with additional metadata about serialized data. It is heavily used to implement some integration features in Kotlin Notebook IntelliJ IDEA plugin.
Link copied to clipboard