From cac5b9d46a17ea13f38241053680045e44078c32 Mon Sep 17 00:00:00 2001 From: Elizabeth Paige Harper Date: Tue, 26 Nov 2024 17:24:23 -0500 Subject: [PATCH] yaml support --- .github/dependabot.yml | 6 + .gitignore | 2 +- build.gradle.kts | 131 +- .../v4.0.0}/images/anchor-copy-button.svg | 0 .../v4.0.0}/images/arrow_down.svg | 0 .../v4.0.0}/images/burger.svg | 0 .../v4.0.0}/images/copy-icon.svg | 0 .../v4.0.0}/images/copy-successful-icon.svg | 0 .../v4.0.0}/images/footer-go-to-link.svg | 0 .../v4.0.0}/images/go-to-top-icon.svg | 0 .../v4.0.0}/images/homepage.svg | 0 .../v4.0.0}/images/logo-icon.svg | 0 .../nav-icons/abstract-class-kotlin.svg | 0 .../images/nav-icons/abstract-class.svg | 0 .../images/nav-icons/annotation-kotlin.svg | 0 .../v4.0.0}/images/nav-icons/annotation.svg | 0 .../v4.0.0}/images/nav-icons/class-kotlin.svg | 0 .../v4.0.0}/images/nav-icons/class.svg | 0 .../v4.0.0}/images/nav-icons/enum-kotlin.svg | 0 .../v4.0.0}/images/nav-icons/enum.svg | 0 .../images/nav-icons/exception-class.svg | 0 .../v4.0.0}/images/nav-icons/field-value.svg | 0 .../images/nav-icons/field-variable.svg | 0 .../v4.0.0}/images/nav-icons/function.svg | 0 .../images/nav-icons/interface-kotlin.svg | 0 .../v4.0.0}/images/nav-icons/interface.svg | 0 .../v4.0.0}/images/nav-icons/object.svg | 0 .../images/nav-icons/typealias-kotlin.svg | 0 .../v4.0.0}/images/theme-toggle.svg | 0 .../v4.0.0/index.html | 99 ++ .../add-if-n-n.html | 80 + .../add-unsigned-if-n-n.html | 80 + .../add-unsigned.html | 80 + .../add.html | 12 +- .../index.html | 268 +++ .../init-shared-config.html} | 16 +- .../merge-with.html | 80 + .../put-if-n-n.html | 80 + .../put-unsigned-if-n-n.html | 80 + .../put-unsigned.html | 80 + .../org.veupathdb.lib.jackson.common/put.html | 80 + .../to-json-array.html | 80 + .../to-json-object.html | 80 + .../jackson-singleton-common/package-list | 58 + .../v4.0.0/navigation.html | 43 + .../v4.0.0}/scripts/clipboard.js | 0 .../v4.0.0}/scripts/main.js | 0 .../v4.0.0}/scripts/navigation-loader.js | 0 .../v4.0.0/scripts/pages.json | 1 + .../scripts/platform-content-handler.js | 0 .../v4.0.0}/scripts/prism.js | 0 .../v4.0.0/scripts/sourceset_dependencies.js | 1 + .../symbol-parameters-wrapper_deferred.js | 0 .../v4.0.0}/styles/font-jb-sans-auto.css | 0 .../v4.0.0}/styles/logo-styles.css | 0 .../v4.0.0}/styles/main.css | 0 .../v4.0.0}/styles/prism.css | 0 .../v4.0.0}/styles/style.css | 0 .../v4.0.0/images/anchor-copy-button.svg | 8 + .../v4.0.0/images/arrow_down.svg | 7 + .../v4.0.0/images/burger.svg | 9 + .../v4.0.0/images/copy-icon.svg | 7 + .../v4.0.0/images/copy-successful-icon.svg | 7 + .../v4.0.0/images/footer-go-to-link.svg | 7 + .../v4.0.0/images/go-to-top-icon.svg | 8 + .../v4.0.0/images/homepage.svg | 3 + .../v4.0.0/images/logo-icon.svg | 14 + .../nav-icons/abstract-class-kotlin.svg | 26 + .../images/nav-icons/abstract-class.svg | 20 + .../images/nav-icons/annotation-kotlin.svg | 13 + .../v4.0.0/images/nav-icons/annotation.svg | 7 + .../v4.0.0/images/nav-icons/class-kotlin.svg | 13 + .../v4.0.0/images/nav-icons/class.svg | 7 + .../v4.0.0/images/nav-icons/enum-kotlin.svg | 13 + .../v4.0.0/images/nav-icons/enum.svg | 7 + .../images/nav-icons/exception-class.svg | 7 + .../v4.0.0/images/nav-icons/field-value.svg | 10 + .../images/nav-icons/field-variable.svg | 10 + .../v4.0.0/images/nav-icons/function.svg | 7 + .../images/nav-icons/interface-kotlin.svg | 13 + .../v4.0.0/images/nav-icons/interface.svg | 7 + .../v4.0.0/images/nav-icons/object.svg | 13 + .../images/nav-icons/typealias-kotlin.svg | 13 + .../v4.0.0/images/theme-toggle.svg | 7 + .../jackson-singleton-json/v4.0.0/index.html | 99 ++ .../-json/-mapper.html | 12 +- .../-json/convert.html | 80 + .../-json/index.html | 183 ++ .../-json/new-array.html | 80 + .../-json/new-object.html | 80 + .../-json/new.html | 80 + .../-json/parse.html | 80 + .../add-if-n-n.html | 80 + .../add-unsigned-if-n-n.html | 80 + .../add-unsigned.html | 80 + .../org.veupathdb.lib.jackson.json/add.html | 80 + .../org.veupathdb.lib.jackson.json/index.html | 272 +++ .../org.veupathdb.lib.jackson.json/plus.html | 80 + .../put-if-n-n.html | 80 + .../put-unsigned-if-n-n.html | 80 + .../put-unsigned.html | 80 + .../org.veupathdb.lib.jackson.json/put.html | 80 + .../to-json-array.html | 80 + .../to-json-object.html | 80 + .../jackson-singleton-json/package-list | 69 + .../v4.0.0/navigation.html | 43 + .../v4.0.0/scripts/clipboard.js | 56 + .../v4.0.0/scripts/main.js | 44 + .../v4.0.0/scripts/navigation-loader.js | 95 ++ .../v4.0.0/scripts/pages.json | 1 + .../scripts/platform-content-handler.js | 400 +++++ .../v4.0.0/scripts/prism.js | 22 + .../v4.0.0/scripts/sourceset_dependencies.js | 1 + .../symbol-parameters-wrapper_deferred.js | 64 + .../v4.0.0/styles/font-jb-sans-auto.css | 36 + .../v4.0.0/styles/logo-styles.css | 9 + .../v4.0.0/styles/main.css | 124 ++ .../v4.0.0/styles/prism.css | 217 +++ .../v4.0.0/styles/style.css | 1509 +++++++++++++++++ .../v4.0.0/images/anchor-copy-button.svg | 8 + .../v4.0.0/images/arrow_down.svg | 7 + .../v4.0.0/images/burger.svg | 9 + .../v4.0.0/images/copy-icon.svg | 7 + .../v4.0.0/images/copy-successful-icon.svg | 7 + .../v4.0.0/images/footer-go-to-link.svg | 7 + .../v4.0.0/images/go-to-top-icon.svg | 8 + .../v4.0.0/images/homepage.svg | 3 + .../v4.0.0/images/logo-icon.svg | 14 + .../nav-icons/abstract-class-kotlin.svg | 26 + .../images/nav-icons/abstract-class.svg | 20 + .../images/nav-icons/annotation-kotlin.svg | 13 + .../v4.0.0/images/nav-icons/annotation.svg | 7 + .../v4.0.0/images/nav-icons/class-kotlin.svg | 13 + .../v4.0.0/images/nav-icons/class.svg | 7 + .../v4.0.0/images/nav-icons/enum-kotlin.svg | 13 + .../v4.0.0/images/nav-icons/enum.svg | 7 + .../images/nav-icons/exception-class.svg | 7 + .../v4.0.0/images/nav-icons/field-value.svg | 10 + .../images/nav-icons/field-variable.svg | 10 + .../v4.0.0/images/nav-icons/function.svg | 7 + .../images/nav-icons/interface-kotlin.svg | 13 + .../v4.0.0/images/nav-icons/interface.svg | 7 + .../v4.0.0/images/nav-icons/object.svg | 13 + .../images/nav-icons/typealias-kotlin.svg | 13 + .../v4.0.0/images/theme-toggle.svg | 7 + .../v4.0.0}/index.html | 20 +- .../-yaml/-mapper.html | 80 + .../-yaml}/convert.html | 12 +- .../-yaml/index.html | 183 ++ .../-yaml/new-array.html | 80 + .../-yaml}/new-object.html | 12 +- .../-yaml/new.html | 80 + .../-yaml/parse.html | 80 + .../add-if-n-n.html | 80 + .../add-unsigned-if-n-n.html | 80 + .../add-unsigned.html | 80 + .../org.veupathdb.lib.jackson.yaml/add.html | 80 + .../org.veupathdb.lib.jackson.yaml/index.html | 272 +++ .../org.veupathdb.lib.jackson.yaml/plus.html | 80 + .../put-if-n-n.html | 80 + .../put-unsigned-if-n-n.html | 80 + .../put-unsigned.html | 80 + .../org.veupathdb.lib.jackson.yaml/put.html | 80 + .../to-json-array.html | 80 + .../to-json-object.html | 80 + .../jackson-singleton-yaml/package-list | 69 + .../v4.0.0/navigation.html | 43 + .../v4.0.0/scripts/clipboard.js | 56 + .../v4.0.0/scripts/main.js | 44 + .../v4.0.0/scripts/navigation-loader.js | 95 ++ .../v4.0.0/scripts/pages.json | 1 + .../scripts/platform-content-handler.js | 400 +++++ .../v4.0.0/scripts/prism.js | 22 + .../v4.0.0/scripts/sourceset_dependencies.js | 1 + .../symbol-parameters-wrapper_deferred.js | 64 + .../v4.0.0/styles/font-jb-sans-auto.css | 36 + .../v4.0.0/styles/logo-styles.css | 9 + .../v4.0.0/styles/main.css | 124 ++ .../v4.0.0/styles/prism.css | 217 +++ .../v4.0.0/styles/style.css | 1509 +++++++++++++++++ .../-json/index.html | 183 -- .../-json/new-array.html | 80 - .../org.veupathdb.lib.jackson/-json/new.html | 80 - .../-json/parse.html | 80 - .../org.veupathdb.lib.jackson/add-if-n-n.html | 80 - .../org.veupathdb.lib.jackson/index.html | 197 --- .../org.veupathdb.lib.jackson/put-if-n-n.html | 80 - .../to-json-array.html | 80 - .../to-json-object.html | 80 - .../v3.2.0/jackson-singleton/package-list | 50 - docs/dokka/v3.2.0/navigation.html | 28 - docs/dokka/v3.2.0/scripts/pages.json | 1 - .../v3.2.0/scripts/sourceset_dependencies.js | 1 - gradle/libs.versions.toml | 4 + lib/common/build.gradle.kts | 9 + .../veupathdb/lib/jackson/common/arrays.kt | 369 ++++ .../veupathdb/lib/jackson/common/mapper.kt | 37 + .../veupathdb/lib/jackson/common}/objects.kt | 328 +++- lib/json/build.gradle.kts | 3 + .../org/veupathdb/lib/jackson/json}/Json.kt | 39 +- .../org/veupathdb/lib/jackson/json/arrays.kt | 325 ++++ .../org/veupathdb/lib/jackson/json/objects.kt | 434 +++++ lib/yaml/build.gradle.kts | 10 + .../org/veupathdb/lib/jackson/yaml/Yaml.kt | 172 ++ .../org/veupathdb/lib/jackson/yaml/arrays.kt | 325 ++++ .../org/veupathdb/lib/jackson/yaml/objects.kt | 434 +++++ .../lib/jackson/yaml/ObjectsKtTest.kt | 83 + readme.adoc | 19 +- settings.gradle.kts | 8 + .../org/veupathdb/lib/jackson/arrays.kt | 210 --- 210 files changed, 13317 insertions(+), 1400 deletions(-) create mode 100644 .github/dependabot.yml rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/anchor-copy-button.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/arrow_down.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/burger.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/copy-icon.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/copy-successful-icon.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/footer-go-to-link.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/go-to-top-icon.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/homepage.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/logo-icon.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/abstract-class-kotlin.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/abstract-class.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/annotation-kotlin.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/annotation.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/class-kotlin.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/class.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/enum-kotlin.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/enum.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/exception-class.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/field-value.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/field-variable.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/function.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/interface-kotlin.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/interface.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/object.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/nav-icons/typealias-kotlin.svg (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/images/theme-toggle.svg (100%) create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/index.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-unsigned-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-unsigned.html rename docs/dokka/{v3.2.0/jackson-singleton/org.veupathdb.lib.jackson => jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common}/add.html (50%) create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/index.html rename docs/dokka/{v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/put.html => jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/init-shared-config.html} (50%) create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/merge-with.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/put-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/put-unsigned-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/put-unsigned.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/put.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/to-json-array.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/to-json-object.html create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/package-list create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/navigation.html rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/scripts/clipboard.js (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/scripts/main.js (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/scripts/navigation-loader.js (100%) create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/scripts/pages.json rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/scripts/platform-content-handler.js (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/scripts/prism.js (100%) create mode 100644 docs/dokka/jackson-singleton-common/v4.0.0/scripts/sourceset_dependencies.js rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/scripts/symbol-parameters-wrapper_deferred.js (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/styles/font-jb-sans-auto.css (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/styles/logo-styles.css (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/styles/main.css (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/styles/prism.css (100%) rename docs/dokka/{v3.2.0 => jackson-singleton-common/v4.0.0}/styles/style.css (100%) create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/anchor-copy-button.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/arrow_down.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/burger.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/copy-icon.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/copy-successful-icon.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/footer-go-to-link.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/go-to-top-icon.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/homepage.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/logo-icon.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/abstract-class-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/abstract-class.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/annotation-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/annotation.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/class-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/class.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/enum-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/enum.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/exception-class.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/field-value.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/field-variable.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/function.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/interface-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/interface.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/object.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/nav-icons/typealias-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/images/theme-toggle.svg create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/index.html rename docs/dokka/{v3.2.0/jackson-singleton/org.veupathdb.lib.jackson => jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json}/-json/-mapper.html (77%) create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/-json/convert.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/-json/index.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/-json/new-array.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/-json/new-object.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/-json/new.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/-json/parse.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/add-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/add-unsigned-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/add-unsigned.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/add.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/index.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/plus.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/put-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/put-unsigned-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/put-unsigned.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/put.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/to-json-array.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/org.veupathdb.lib.jackson.json/to-json-object.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/jackson-singleton-json/package-list create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/navigation.html create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/scripts/clipboard.js create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/scripts/main.js create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/scripts/navigation-loader.js create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/scripts/pages.json create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/scripts/platform-content-handler.js create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/scripts/prism.js create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/scripts/sourceset_dependencies.js create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/scripts/symbol-parameters-wrapper_deferred.js create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/styles/font-jb-sans-auto.css create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/styles/logo-styles.css create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/styles/main.css create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/styles/prism.css create mode 100644 docs/dokka/jackson-singleton-json/v4.0.0/styles/style.css create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/anchor-copy-button.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/arrow_down.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/burger.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/copy-icon.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/copy-successful-icon.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/footer-go-to-link.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/go-to-top-icon.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/homepage.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/logo-icon.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/abstract-class-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/abstract-class.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/annotation-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/annotation.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/class-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/class.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/enum-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/enum.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/exception-class.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/field-value.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/field-variable.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/function.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/interface-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/interface.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/object.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/nav-icons/typealias-kotlin.svg create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/images/theme-toggle.svg rename docs/dokka/{v3.2.0 => jackson-singleton-yaml/v4.0.0}/index.html (82%) create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/-mapper.html rename docs/dokka/{v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/-json => jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml}/convert.html (61%) create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/index.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/new-array.html rename docs/dokka/{v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/-json => jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml}/new-object.html (52%) create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/new.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/parse.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/add-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/add-unsigned-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/add-unsigned.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/add.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/index.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/plus.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/put-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/put-unsigned-if-n-n.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/put-unsigned.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/put.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/to-json-array.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/to-json-object.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/package-list create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/navigation.html create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/scripts/clipboard.js create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/scripts/main.js create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/scripts/navigation-loader.js create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/scripts/pages.json create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/scripts/platform-content-handler.js create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/scripts/prism.js create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/scripts/sourceset_dependencies.js create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/scripts/symbol-parameters-wrapper_deferred.js create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/styles/font-jb-sans-auto.css create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/styles/logo-styles.css create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/styles/main.css create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/styles/prism.css create mode 100644 docs/dokka/jackson-singleton-yaml/v4.0.0/styles/style.css delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/-json/index.html delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/-json/new-array.html delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/-json/new.html delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/-json/parse.html delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/add-if-n-n.html delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/index.html delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/put-if-n-n.html delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/to-json-array.html delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/to-json-object.html delete mode 100644 docs/dokka/v3.2.0/jackson-singleton/package-list delete mode 100644 docs/dokka/v3.2.0/navigation.html delete mode 100644 docs/dokka/v3.2.0/scripts/pages.json delete mode 100644 docs/dokka/v3.2.0/scripts/sourceset_dependencies.js create mode 100644 gradle/libs.versions.toml create mode 100644 lib/common/build.gradle.kts create mode 100644 lib/common/src/main/kotlin/org/veupathdb/lib/jackson/common/arrays.kt create mode 100644 lib/common/src/main/kotlin/org/veupathdb/lib/jackson/common/mapper.kt rename {src/main/kotlin/org/veupathdb/lib/jackson => lib/common/src/main/kotlin/org/veupathdb/lib/jackson/common}/objects.kt (51%) create mode 100644 lib/json/build.gradle.kts rename {src/main/kotlin/org/veupathdb/lib/jackson => lib/json/src/main/kotlin/org/veupathdb/lib/jackson/json}/Json.kt (73%) create mode 100644 lib/json/src/main/kotlin/org/veupathdb/lib/jackson/json/arrays.kt create mode 100644 lib/json/src/main/kotlin/org/veupathdb/lib/jackson/json/objects.kt create mode 100644 lib/yaml/build.gradle.kts create mode 100644 lib/yaml/src/main/kotlin/org/veupathdb/lib/jackson/yaml/Yaml.kt create mode 100644 lib/yaml/src/main/kotlin/org/veupathdb/lib/jackson/yaml/arrays.kt create mode 100644 lib/yaml/src/main/kotlin/org/veupathdb/lib/jackson/yaml/objects.kt create mode 100644 lib/yaml/src/test/kotlin/org/veupathdb/lib/jackson/yaml/ObjectsKtTest.kt delete mode 100644 src/main/kotlin/org/veupathdb/lib/jackson/arrays.kt diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..7fc0885 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: +- package-ecosystem: gradle + directory: "/" + schedule: + interval: weekly diff --git a/.gitignore b/.gitignore index 14e5aca..a1da127 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /.idea/ /.gradle/ -/build/ +build/ diff --git a/build.gradle.kts b/build.gradle.kts index 039b9ab..05fada5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,81 +1,98 @@ +import org.jetbrains.kotlin.gradle.dsl.JvmTarget + plugins { `maven-publish` - kotlin("jvm") version "2.0.20" + kotlin("jvm") version "2.0.21" id("org.jetbrains.dokka") version "1.9.20" } group = "org.veupathdb.lib" -version = "3.2.1" - -repositories { - mavenCentral() -} +version = "4.0.0" -dependencies { - api(platform("com.fasterxml.jackson:jackson-bom:2.17.2")) - api("com.fasterxml.jackson.core:jackson-databind") - api("com.fasterxml.jackson.datatype:jackson-datatype-json-org") - api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310") - api("com.fasterxml.jackson.datatype:jackson-datatype-jdk8") - api("com.fasterxml.jackson.module:jackson-module-kotlin") - api("com.fasterxml.jackson.module:jackson-module-parameter-names") +allprojects { + repositories { + mavenCentral() + } } -java { - withSourcesJar() - withJavadocJar() -} +configure(listOf( + project(":lib:jackson-singleton-common"), + project(":lib:jackson-singleton-json"), + project(":lib:jackson-singleton-yaml"), +)) { + apply(plugin = "org.jetbrains.kotlin.jvm") + apply(plugin = "org.jetbrains.dokka") + apply(plugin = "maven-publish") -kotlin { - jvmToolchain { - languageVersion.set(JavaLanguageVersion.of(21)) - vendor.set(JvmVendorSpec.AMAZON) + kotlin { + compilerOptions { + jvmTarget.set(JvmTarget.JVM_21) + optIn = listOf("kotlin.contracts.ExperimentalContracts") + } } - compilerOptions { - optIn = listOf("kotlin.contracts.ExperimentalContracts") + java { + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 + + withSourcesJar() + withJavadocJar() } -} -tasks.dokkaHtml { - val featVersion = (version as String).substring(0, (version as String).lastIndexOf('.')) + ".0" - outputDirectory.set(file("docs/dokka/v$featVersion")) -} + tasks.dokkaHtml { + val featVersion = (rootProject.version as String).substring(0, (rootProject.version as String).lastIndexOf('.')) + ".0" + outputDirectory.set(file("${rootDir}/docs/dokka/${this@configure.name}/v${featVersion}")) + } -publishing { - repositories { - maven { - name = "GitHub" - url = uri("https://maven.pkg.github.com/veupathdb/lib-jackson-singleton") - credentials { - username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME") - password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN") + publishing { + repositories { + maven { + name = "GitHub" + url = uri("https://maven.pkg.github.com/veupathdb/lib-jackson-singleton") + credentials { + username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME") + password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN") + } } } - } - publications { - create("gpr") { - from(components["java"]) - pom { - name.set("JaxRS Container Core Library") - description.set("Provides base methods, endpoints, server setup, and utilities for use in containerized VEuPathDB JaxRS based applications.") - url.set("https://github.com/VEuPathDB/lib-jackson-singleton") - developers { - developer { - id.set("epharper") - name.set("Elizabeth Paige Harper") - email.set("foxcapades.io@gmail.com") - url.set("https://github.com/foxcapades") - organization.set("VEuPathDB") - } - } - scm { - connection.set("scm:git:git://github.com/VEuPathDB/lib-jackson-singleton.git") - developerConnection.set("scm:git:ssh://github.com/VEuPathDB/lib-jackson-singleton.git") + publications { + create("gpr") { + from(components["java"]) + groupId = rootProject.group.toString() + version = rootProject.version.toString() + + pom { + name.set("JaxRS Container Core Library") + description.set("Provides base methods, endpoints, server setup, and utilities for use in containerized VEuPathDB JaxRS based applications.") url.set("https://github.com/VEuPathDB/lib-jackson-singleton") + developers { + developer { + id.set("epharper") + name.set("Elizabeth Paige Harper") + email.set("foxcapades.io@gmail.com") + url.set("https://github.com/foxcapades") + organization.set("VEuPathDB") + } + } + scm { + connection.set("scm:git:git://github.com/VEuPathDB/lib-jackson-singleton.git") + developerConnection.set("scm:git:ssh://github.com/VEuPathDB/lib-jackson-singleton.git") + url.set("https://github.com/VEuPathDB/lib-jackson-singleton") + } } } } } } + +kotlin { + compilerOptions { + jvmTarget.set(JvmTarget.JVM_21) + } +} + +java { + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 +} diff --git a/docs/dokka/v3.2.0/images/anchor-copy-button.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/anchor-copy-button.svg similarity index 100% rename from docs/dokka/v3.2.0/images/anchor-copy-button.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/anchor-copy-button.svg diff --git a/docs/dokka/v3.2.0/images/arrow_down.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/arrow_down.svg similarity index 100% rename from docs/dokka/v3.2.0/images/arrow_down.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/arrow_down.svg diff --git a/docs/dokka/v3.2.0/images/burger.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/burger.svg similarity index 100% rename from docs/dokka/v3.2.0/images/burger.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/burger.svg diff --git a/docs/dokka/v3.2.0/images/copy-icon.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/copy-icon.svg similarity index 100% rename from docs/dokka/v3.2.0/images/copy-icon.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/copy-icon.svg diff --git a/docs/dokka/v3.2.0/images/copy-successful-icon.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/copy-successful-icon.svg similarity index 100% rename from docs/dokka/v3.2.0/images/copy-successful-icon.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/copy-successful-icon.svg diff --git a/docs/dokka/v3.2.0/images/footer-go-to-link.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/footer-go-to-link.svg similarity index 100% rename from docs/dokka/v3.2.0/images/footer-go-to-link.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/footer-go-to-link.svg diff --git a/docs/dokka/v3.2.0/images/go-to-top-icon.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/go-to-top-icon.svg similarity index 100% rename from docs/dokka/v3.2.0/images/go-to-top-icon.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/go-to-top-icon.svg diff --git a/docs/dokka/v3.2.0/images/homepage.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/homepage.svg similarity index 100% rename from docs/dokka/v3.2.0/images/homepage.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/homepage.svg diff --git a/docs/dokka/v3.2.0/images/logo-icon.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/logo-icon.svg similarity index 100% rename from docs/dokka/v3.2.0/images/logo-icon.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/logo-icon.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/abstract-class-kotlin.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/abstract-class-kotlin.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/abstract-class-kotlin.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/abstract-class-kotlin.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/abstract-class.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/abstract-class.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/abstract-class.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/abstract-class.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/annotation-kotlin.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/annotation-kotlin.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/annotation-kotlin.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/annotation-kotlin.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/annotation.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/annotation.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/annotation.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/annotation.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/class-kotlin.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/class-kotlin.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/class-kotlin.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/class-kotlin.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/class.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/class.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/class.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/class.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/enum-kotlin.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/enum-kotlin.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/enum-kotlin.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/enum-kotlin.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/enum.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/enum.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/enum.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/enum.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/exception-class.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/exception-class.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/exception-class.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/exception-class.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/field-value.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/field-value.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/field-value.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/field-value.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/field-variable.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/field-variable.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/field-variable.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/field-variable.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/function.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/function.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/function.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/function.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/interface-kotlin.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/interface-kotlin.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/interface-kotlin.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/interface-kotlin.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/interface.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/interface.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/interface.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/interface.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/object.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/object.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/object.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/object.svg diff --git a/docs/dokka/v3.2.0/images/nav-icons/typealias-kotlin.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/typealias-kotlin.svg similarity index 100% rename from docs/dokka/v3.2.0/images/nav-icons/typealias-kotlin.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/nav-icons/typealias-kotlin.svg diff --git a/docs/dokka/v3.2.0/images/theme-toggle.svg b/docs/dokka/jackson-singleton-common/v4.0.0/images/theme-toggle.svg similarity index 100% rename from docs/dokka/v3.2.0/images/theme-toggle.svg rename to docs/dokka/jackson-singleton-common/v4.0.0/images/theme-toggle.svg diff --git a/docs/dokka/jackson-singleton-common/v4.0.0/index.html b/docs/dokka/jackson-singleton-common/v4.0.0/index.html new file mode 100644 index 0000000..8257ac5 --- /dev/null +++ b/docs/dokka/jackson-singleton-common/v4.0.0/index.html @@ -0,0 +1,99 @@ + + + + + jackson-singleton-common + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

jackson-singleton-common

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-if-n-n.html b/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-if-n-n.html new file mode 100644 index 0000000..4ada996 --- /dev/null +++ b/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-if-n-n.html @@ -0,0 +1,80 @@ + + + + + addIfNN + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addIfNN

+
+
inline fun ArrayNode.addIfNN(value: Boolean?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

Boolean value to add.


inline fun ArrayNode.addIfNN(value: Byte?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

Byte value to add.


inline fun ArrayNode.addIfNN(value: Short?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

Short value to add.


inline fun ArrayNode.addIfNN(value: Int?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

Int value to add.


inline fun ArrayNode.addIfNN(value: Long?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

Long value to add.


inline fun ArrayNode.addIfNN(value: Float?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

Float value to add.


inline fun ArrayNode.addIfNN(value: Double?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

Double value to add.


inline fun ArrayNode.addIfNN(value: BigInteger?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

BigInteger value to add.


inline fun ArrayNode.addIfNN(value: BigDecimal?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

BigDecimal value to add.


inline fun ArrayNode.addIfNN(value: String?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

String value to add.


inline fun ArrayNode.addIfNN(value: JsonNode?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

JSON value to add.

+
+ +
+
+
+ + diff --git a/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-unsigned-if-n-n.html b/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-unsigned-if-n-n.html new file mode 100644 index 0000000..41341b7 --- /dev/null +++ b/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-unsigned-if-n-n.html @@ -0,0 +1,80 @@ + + + + + addUnsignedIfNN + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addUnsignedIfNN

+
+
inline fun ArrayNode.addUnsignedIfNN(value: UByte?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

UByte value to add.


inline fun ArrayNode.addUnsignedIfNN(value: UShort?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

UShort value to add.


inline fun ArrayNode.addUnsignedIfNN(value: UInt?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

UInt value to add.


inline fun ArrayNode.addUnsignedIfNN(value: ULong?): ArrayNode

Adds the given value to this ArrayNode only if it is not null.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

ULong value to add.

+
+ +
+
+
+ + diff --git a/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-unsigned.html b/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-unsigned.html new file mode 100644 index 0000000..1c7b702 --- /dev/null +++ b/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add-unsigned.html @@ -0,0 +1,80 @@ + + + + + addUnsigned + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

addUnsigned

+
+
inline fun ArrayNode.addUnsigned(value: UByte): ArrayNode

Adds the given value to this ArrayNode.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

UByte value to add.


inline fun ArrayNode.addUnsigned(value: UShort): ArrayNode

Adds the given value to this ArrayNode.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

UShort value to add.


inline fun ArrayNode.addUnsigned(value: UInt): ArrayNode

Adds the given value to this ArrayNode.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

UInt value to add.


inline fun ArrayNode.addUnsigned(value: ULong): ArrayNode

Adds the given value to this ArrayNode.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

ULong value to add.

+
+ +
+
+
+ + diff --git a/docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/add.html b/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add.html similarity index 50% rename from docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/add.html rename to docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add.html index 29de495..05a1e69 100644 --- a/docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/add.html +++ b/docs/dokka/jackson-singleton-common/v4.0.0/jackson-singleton-common/org.veupathdb.lib.jackson.common/add.html @@ -41,14 +41,14 @@
-3.2.0
+
- +
-
- +
+

add

-
inline fun ArrayNode.add(value: Byte): ArrayNode

Adds the given value to this ArrayNode.

Return

This ArrayNode.

Since

v3.3.0

Parameters

value

Byte value to add.


fun ArrayNode.add(value: Any?): ArrayNode

Adds the given value to this ArrayNode.

Return

This ArrayNode.

Since

v3.3.0

Parameters

value

Value to add.

+
inline fun ArrayNode.add(value: Byte): ArrayNode

Adds the given value to this ArrayNode.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

Byte value to add.


fun ArrayNode.add(value: Any?): ArrayNode

Adds the given value to this ArrayNode.

Return

This ArrayNode.

Since

v4.0.0

Parameters

value

Value to add.

- +
-
- +
+
-

put

+

initSharedConfig

-
inline fun ObjectNode.put(key: String, value: Byte): ObjectNode

Sets the given key/value pair on this ObjectNode.

Return

This ObjectNode.

Parameters

key

Key to set the new value under.

value

Byte value to set.


fun ObjectNode.put(key: String, value: Any?): ObjectNode
+
fun <T : ObjectMapper> T.initSharedConfig(): T
- +
-
- +
+

Mapper

-
val Mapper: ObjectMapper
+
val Mapper: ObjectMapper
- +
-
+
-

jackson-singleton

+

jackson-singleton-yaml

Packages

-
-
+
+
diff --git a/docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/-mapper.html b/docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/-mapper.html new file mode 100644 index 0000000..c6bae6b --- /dev/null +++ b/docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/-mapper.html @@ -0,0 +1,80 @@ + + + + + Mapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Mapper

+
+
val Mapper: YAMLMapper
+
+ +
+
+
+ + diff --git a/docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/-json/convert.html b/docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/convert.html similarity index 61% rename from docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/-json/convert.html rename to docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/convert.html index 855163c..ce0fa28 100644 --- a/docs/dokka/v3.2.0/jackson-singleton/org.veupathdb.lib.jackson/-json/convert.html +++ b/docs/dokka/jackson-singleton-yaml/v4.0.0/jackson-singleton-yaml/org.veupathdb.lib.jackson.yaml/-yaml/convert.html @@ -41,14 +41,14 @@
-3.2.0
+
- +
-
- +
+

convert

-
fun convert(input: Any): JsonNode

Converts the given input to a JsonNode instance.

Return

Parsed/converted JsonNode value.

Parameters

input

Value/stream to convert or parse into a JsonNode instance.

+
fun convert(input: Any): JsonNode

Converts the given input to a JsonNode instance.

Return

Parsed/converted JsonNode value.

Parameters

input

Value/stream to convert or parse into a JsonNode instance.

- +
-
- +
+

newObject

-
fun newObject(): ObjectNode

Creates a new ObjectNode instance

Return

The newly created ObjectNode


inline fun newObject(fn: ObjectNode.() -> Unit): ObjectNode

Creates a new ObjectNode instance and applies the given configuration function to it.

Return

The newly created ObjectNode.

Parameters

fn

Configuration function.

+
fun newObject(): ObjectNode

Creates a new ObjectNode instance

Return

The newly created ObjectNode


inline fun newObject(fn: ObjectNode.() -> Unit): ObjectNode

Creates a new ObjectNode instance and applies the given configuration function to it.

Return

The newly created ObjectNode.

Parameters

fn

Configuration function.